Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 187.4 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 90.47 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.681e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.223, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.243, allocations: 340.1 MB / 1.217 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.243, allocations: 78.08 kB / 1.217 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03883/1.282, allocations: 16.17 MB / 1.233 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/1.282, allocations: 0 / 1.233 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.028e-05/1.282, allocations: 4 kB / 1.233 GB, free: 15.32 MB / 0.8542 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.0009577/1.283, allocations: 468.5 kB / 1.234 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.283, allocations: 16.02 kB / 1.234 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/1.285, allocations: 173.5 kB / 1.234 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/1.285, allocations: 212.8 kB / 1.234 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.285, allocations: 4 kB / 1.234 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/1.286, allocations: 8 kB / 1.234 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003922/1.286, allocations: 197.3 kB / 1.234 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/1.286, allocations: 234.8 kB / 1.235 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.286, allocations: 3.938 kB / 1.235 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/1.286, allocations: 4 kB / 1.235 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/1.286, allocations: 4 kB / 1.235 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.288, allocations: 1.344 MB / 1.236 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/1.288, allocations: 144.2 kB / 1.236 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/1.289, allocations: 58.02 kB / 1.236 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.289, allocations: 11.89 kB / 1.236 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/1.289, allocations: 33.31 kB / 1.236 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/1.289, allocations: 3.938 kB / 1.236 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003367/1.289, allocations: 141.3 kB / 1.236 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.289, allocations: 59.41 kB / 1.236 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.289, allocations: 128.8 kB / 1.236 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/1.289, allocations: 25.7 kB / 1.236 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/1.289, allocations: 126.5 kB / 1.237 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/1.289, allocations: 57.92 kB / 1.237 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/1.289, allocations: 0 / 1.237 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.289, allocations: 329.8 kB / 1.237 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/1.29, allocations: 45.77 kB / 1.237 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.29, allocations: 121.9 kB / 1.237 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.29, allocations: 58.97 kB / 1.237 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.29, allocations: 4 kB / 1.237 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003033/1.29, allocations: 191.2 kB / 1.237 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.29, allocations: 9.094 kB / 1.237 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.29, allocations: 11.98 kB / 1.237 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.29, allocations: 4 kB / 1.237 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/1.291, allocations: 63.89 kB / 1.237 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.291, allocations: 4 kB / 1.237 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/1.291, allocations: 27.73 kB / 1.237 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/1.291, allocations: 11.75 kB / 1.237 GB, free: 11.09 MB / 0.8542 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.000113/1.291, allocations: 116.9 kB / 1.238 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002424/1.291, allocations: 141 kB / 1.238 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/1.291, allocations: 11.91 kB / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/1.292, allocations: 188.3 kB / 1.238 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.292, allocations: 4 kB / 1.238 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.292, allocations: 0 / 1.238 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.292, allocations: 0 / 1.238 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/1.292, allocations: 206.6 kB / 1.238 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.292, allocations: 0 / 1.238 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/1.292, allocations: 55.95 kB / 1.238 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/1.292, allocations: 0 / 1.238 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.292, allocations: 7.938 kB / 1.238 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.292, allocations: 4 kB / 1.238 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.292, allocations: 3.984 kB / 1.238 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/1.293, allocations: 255.1 kB / 1.238 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.293, allocations: 104.4 kB / 1.238 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/1.293, allocations: 7.984 kB / 1.239 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/1.293, allocations: 7.984 kB / 1.239 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/1.293, allocations: 15.98 kB / 1.239 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.293, allocations: 11.44 kB / 1.239 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.001e-05/1.293, allocations: 97.05 kB / 1.239 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 3.938 kB / 1.239 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003988/1.294, allocations: 55.84 kB / 1.239 GB, free: 9.863 MB / 0.8542 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.0007072/1.294, allocations: 0.8136 MB / 1.239 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002545/1.295, allocations: 136.8 kB / 1.24 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.295, allocations: 4.188 kB / 1.24 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.295, allocations: 69.48 kB / 1.24 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/1.295, allocations: 39.2 kB / 1.24 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/1.296, allocations: 244.4 kB / 1.24 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.296, allocations: 0.7132 MB / 1.241 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003486/1.297, allocations: 49.83 kB / 1.241 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.297, allocations: 46.28 kB / 1.241 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of SimCode: time 3.697e-06/1.297, allocations: 0 / 1.241 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/1.322, allocations: 3.758 MB / 1.244 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.322, allocations: 189.2 kB / 1.245 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.855, allocations: 3.094 kB / 1.245 GB, free: 3.867 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)