Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005064/0.005064, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 266.3 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8449/0.8449, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 19.48 kB / 0.5988 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001255/0.1217, allocations: 1.182 MB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003135/0.122, allocations: 180 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.122, allocations: 1.25 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.1221, allocations: 0 / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1222, allocations: 21.06 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.1224, allocations: 50.8 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.1225, allocations: 51.86 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.1226, allocations: 14.05 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.1226, allocations: 16 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.1227, allocations: 27.89 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1227, allocations: 0 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.1227, allocations: 7.938 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.1227, allocations: 12.56 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.1228, allocations: 41.62 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.1229, allocations: 54.28 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1229, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1229, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.1229, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003784/0.1233, allocations: 341.3 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1233, allocations: 12.03 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.1233, allocations: 30.75 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.1234, allocations: 12.88 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1235, allocations: 160.4 kB / 0.6874 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1235, allocations: 4.969 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1235, allocations: 1 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1236, allocations: 82.47 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1237, allocations: 3.938 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1237, allocations: 0 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1237, allocations: 4.922 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.1237, allocations: 19.98 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.124, allocations: 280.7 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.1241, allocations: 34.52 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1242, allocations: 20.94 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.1242, allocations: 0 / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.1243, allocations: 64.61 kB / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1243, allocations: 0 / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.1245, allocations: 74.27 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1245, allocations: 104.4 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.1246, allocations: 101.9 kB / 0.6881 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1246, allocations: 29.7 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1247, allocations: 103.9 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.1247, allocations: 8.625 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1247, allocations: 13.72 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.1248, allocations: 315.7 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.1248, allocations: 12.61 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.1249, allocations: 40.28 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.1249, allocations: 25.23 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1249, allocations: 0 / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.124e-05/0.125, allocations: 65.66 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1251, allocations: 8 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1251, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.1251, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.1251, allocations: 4 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1251, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1252, allocations: 16.55 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1253, allocations: 0 / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.1253, allocations: 126.4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.1254, allocations: 7.984 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.1254, allocations: 7.5 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1254, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1254, allocations: 4 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1254, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1255, allocations: 173.5 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1255, allocations: 3.984 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1255, allocations: 7.938 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1256, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1256, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1256, allocations: 4 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1256, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1257, allocations: 93.05 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1257, allocations: 81.02 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1258, allocations: 7.984 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.1259, allocations: 5.312 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.1259, allocations: 16.22 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1259, allocations: 0 / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.126, allocations: 91.27 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.126, allocations: 3.938 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001728/0.1261, allocations: 8 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/0.1265, allocations: 0.6358 MB / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.1266, allocations: 28.23 kB / 0.69 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1266, allocations: 4 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.1266, allocations: 15.94 kB / 0.69 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1268, allocations: 8.75 kB / 0.69 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.1276, allocations: 1.176 MB / 0.6912 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.1278, allocations: 0.6833 MB / 0.6919 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.1278, allocations: 8 kB / 0.6919 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.1279, allocations: 15.42 kB / 0.6919 GB, free: 7.664 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1279, allocations: 0 / 0.6919 GB, free: 7.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/0.2916, allocations: 1.562 MB / 0.6934 GB, free: 6.324 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.2918, allocations: 251.7 kB / 0.6936 GB, free: 6.074 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.889, allocations: 2.531 kB / 0.6936 GB, free: 6.074 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)