Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.8693/0.8693, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001214/0.001214, allocations: 176.8 kB / 182.2 MB, free: 9.445 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.571/1.571, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009575/0.0009575, allocations: 87.8 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 289.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.429e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4872, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8621/1.349, allocations: 316.2 MB / 1.066 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.35, allocations: 83.05 kB / 1.066 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04231/1.392, allocations: 16.67 MB / 1.083 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/1.392, allocations: 0 / 1.083 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.445e-05/1.392, allocations: 4 kB / 1.083 GB, free: 1.828 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008815/1.393, allocations: 489.1 kB / 1.083 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.393, allocations: 8.031 kB / 1.083 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.395, allocations: 174 kB / 1.083 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/1.395, allocations: 209.6 kB / 1.083 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/1.395, allocations: 8 kB / 1.083 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/1.395, allocations: 8 kB / 1.083 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003883/1.396, allocations: 199.9 kB / 1.084 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/1.396, allocations: 243.2 kB / 1.084 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.396, allocations: 3.938 kB / 1.084 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/1.396, allocations: 0 / 1.084 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/1.396, allocations: 8 kB / 1.084 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/1.398, allocations: 1.339 MB / 1.085 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.398, allocations: 146 kB / 1.085 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.398, allocations: 58.77 kB / 1.085 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/1.398, allocations: 7.422 kB / 1.085 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.398, allocations: 34.56 kB / 1.085 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/1.398, allocations: 0 / 1.085 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0003177/1.399, allocations: 139.8 kB / 1.086 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.399, allocations: 59.41 kB / 1.086 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/1.399, allocations: 137.1 kB / 1.086 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/1.399, allocations: 25.7 kB / 1.086 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/1.399, allocations: 123.2 kB / 1.086 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/1.399, allocations: 66.09 kB / 1.086 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/1.399, allocations: 0 / 1.086 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.399, allocations: 326.7 kB / 1.086 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/1.399, allocations: 46.72 kB / 1.086 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.4, allocations: 111.6 kB / 1.086 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/1.4, allocations: 71.42 kB / 1.086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.4, allocations: 0 / 1.086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003214/1.4, allocations: 192.4 kB / 1.087 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.4, allocations: 8.031 kB / 1.087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.4, allocations: 7.938 kB / 1.087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.4, allocations: 4 kB / 1.087 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/1.4, allocations: 59.95 kB / 1.087 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/1.4, allocations: 7.938 kB / 1.087 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/1.401, allocations: 23.83 kB / 1.087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/1.401, allocations: 11.38 kB / 1.087 GB, free: 13.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001252/1.401, allocations: 120.9 kB / 1.087 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002534/1.401, allocations: 142.8 kB / 1.087 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/1.401, allocations: 11.81 kB / 1.087 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/1.402, allocations: 184.3 kB / 1.087 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.402, allocations: 0 / 1.087 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/1.402, allocations: 4 kB / 1.087 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.402, allocations: 3.984 kB / 1.087 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.402, allocations: 211.2 kB / 1.087 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.402, allocations: 0 / 1.087 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.402, allocations: 50.97 kB / 1.087 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.402, allocations: 4 kB / 1.087 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/1.402, allocations: 11.92 kB / 1.087 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.402, allocations: 0 / 1.087 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.402, allocations: 0 / 1.087 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/1.403, allocations: 253.4 kB / 1.088 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.403, allocations: 115.9 kB / 1.088 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/1.403, allocations: 0 / 1.088 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/1.403, allocations: 19.98 kB / 1.088 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/1.403, allocations: 15.17 kB / 1.088 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/1.403, allocations: 7.984 kB / 1.088 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.718e-05/1.403, allocations: 98.92 kB / 1.088 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.403, allocations: 0 / 1.088 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003957/1.404, allocations: 60.06 kB / 1.088 GB, free: 12.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.00072/1.404, allocations: 0.8194 MB / 1.089 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002765/1.405, allocations: 136.8 kB / 1.089 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.405, allocations: 6.875 kB / 1.089 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/1.405, allocations: 63.98 kB / 1.089 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/1.405, allocations: 38.36 kB / 1.089 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/1.406, allocations: 265 kB / 1.089 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/1.406, allocations: 0.7171 MB / 1.09 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003421/1.407, allocations: 45.84 kB / 1.09 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.407, allocations: 50.84 kB / 1.09 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/1.407, allocations: 0 / 1.09 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/1.433, allocations: 3.87 MB / 1.094 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.433, allocations: 189.5 kB / 1.094 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/3.308, allocations: 0 / 1.094 GB, free: 6.262 MB / 0.6355 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)