Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8579/0.8579, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.8 kB / 182.2 MB, free: 9.406 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008373, allocations: 96.08 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 272.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.256e-05, allocations: 4 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3751, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5116, allocations: 112.7 MB / 0.8675 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.512, allocations: 83.94 kB / 0.8676 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04487/0.5569, allocations: 8.831 MB / 0.8762 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5569, allocations: 0 / 0.8762 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.557, allocations: 7.938 kB / 0.8762 GB, free: 6.102 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009403/0.5579, allocations: 0.4912 MB / 0.8767 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.558, allocations: 12.03 kB / 0.8767 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.5583, allocations: 27.72 kB / 0.8768 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.5588, allocations: 281.5 kB / 0.877 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.5589, allocations: 11.95 kB / 0.877 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.5589, allocations: 11.98 kB / 0.8771 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/0.5606, allocations: 0.7293 MB / 0.8778 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.5612, allocations: 201 kB / 0.878 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5612, allocations: 0 / 0.878 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.5613, allocations: 4 kB / 0.878 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5613, allocations: 4 kB / 0.878 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.5627, allocations: 0.571 MB / 0.8785 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.5635, allocations: 277.7 kB / 0.8788 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5638, allocations: 93.41 kB / 0.8789 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.201e-05/0.5639, allocations: 24.23 kB / 0.8789 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.5643, allocations: 163.6 kB / 0.8791 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.5643, allocations: 0 / 0.8791 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0008569/0.5652, allocations: 264.9 kB / 0.8793 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.5653, allocations: 136.5 kB / 0.8794 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.5658, allocations: 256.5 kB / 0.8797 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.5658, allocations: 25.7 kB / 0.8797 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.566, allocations: 140.7 kB / 0.8798 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.5661, allocations: 106.4 kB / 0.8799 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.5662, allocations: 0 / 0.8799 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5664, allocations: 346.7 kB / 0.8803 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.5666, allocations: 71.97 kB / 0.8803 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.5669, allocations: 115.4 kB / 0.8805 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.5672, allocations: 100.7 kB / 0.8805 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5672, allocations: 0 / 0.8805 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006721/0.5679, allocations: 264.9 kB / 0.8808 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5679, allocations: 4 kB / 0.8808 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5679, allocations: 0 / 0.8808 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.568, allocations: 4 kB / 0.8808 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.5684, allocations: 59.91 kB / 0.8809 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5684, allocations: 4 kB / 0.8809 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.5686, allocations: 35.77 kB / 0.8809 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.5687, allocations: 11.94 kB / 0.8809 GB, free: 1.066 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5688, allocations: 112.8 kB / 0.881 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006449/0.5695, allocations: 265.1 kB / 0.8813 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.5696, allocations: 31.62 kB / 0.8813 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.5705, allocations: 366.4 kB / 0.8817 GB, free: 308 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.5706, allocations: 4 kB / 0.8817 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5706, allocations: 0 / 0.8817 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.5706, allocations: 7.938 kB / 0.8817 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.5711, allocations: 309.8 kB / 0.882 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5711, allocations: 0 / 0.882 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.5714, allocations: 59.91 kB / 0.882 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5714, allocations: 4 kB / 0.882 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.5714, allocations: 4 kB / 0.882 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5715, allocations: 0 / 0.882 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5715, allocations: 0 / 0.882 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.5722, allocations: 313.6 kB / 0.8823 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.5724, allocations: 152.7 kB / 0.8825 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.5725, allocations: 0 / 0.8825 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.5728, allocations: 19.98 kB / 0.8825 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.5729, allocations: 31.95 kB / 0.8825 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.5729, allocations: 16 kB / 0.8825 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003188/0.5733, allocations: 208.5 kB / 0.8827 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5733, allocations: 0 / 0.8827 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004768/0.5738, allocations: 71.83 kB / 0.8828 GB, free: 15.04 MB / 0.5573 GB 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/0.5756, allocations: 1.089 MB / 0.8839 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.576, allocations: 211.7 kB / 0.8841 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.576, allocations: 0 / 0.8841 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.5762, allocations: 119.8 kB / 0.8842 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.5766, allocations: 31.06 kB / 0.8842 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5776, allocations: 476 kB / 0.8847 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5779, allocations: 0.7783 MB / 0.8854 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.5783, allocations: 147.1 kB / 0.8856 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5785, allocations: 103.4 kB / 0.8857 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.5785, allocations: 0 / 0.8857 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3121/0.8906, allocations: 5.482 MB / 0.891 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.8909, allocations: 220.1 kB / 0.8912 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.767, allocations: 0 / 0.8912 GB, free: 6.402 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)