Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001562, allocations: 192.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 88.59 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.154e-05, allocations: 0 / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8472, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/2.097, allocations: 350.4 MB / 1.306 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/2.097, allocations: 74.55 kB / 1.306 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02903/2.126, allocations: 8.061 MB / 1.314 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/2.126, allocations: 0 / 1.314 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.763e-06/2.126, allocations: 1.344 kB / 1.314 GB, free: 187.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003424/2.127, allocations: 344.6 kB / 1.314 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/2.127, allocations: 9.625 kB / 1.314 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/2.127, allocations: 17.45 kB / 1.314 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/2.127, allocations: 168.2 kB / 1.314 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/2.127, allocations: 5.031 kB / 1.314 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/2.127, allocations: 10.66 kB / 1.314 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.701e-05/2.127, allocations: 8.875 kB / 1.314 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/2.127, allocations: 62.94 kB / 1.314 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/2.127, allocations: 0 / 1.314 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/2.127, allocations: 1.656 kB / 1.314 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/2.127, allocations: 0 / 1.314 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/2.128, allocations: 445.9 kB / 1.315 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/2.128, allocations: 66.14 kB / 1.315 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/2.128, allocations: 24.2 kB / 1.315 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/2.128, allocations: 3.938 kB / 1.315 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/2.128, allocations: 36.66 kB / 1.315 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/2.128, allocations: 0 / 1.315 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006137/2.129, allocations: 283.7 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/2.129, allocations: 104.8 kB / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/2.129, allocations: 95.56 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/2.129, allocations: 25.7 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/2.129, allocations: 88.98 kB / 1.315 GB, free: 186 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/2.129, allocations: 29.12 kB / 1.315 GB, free: 186 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/2.129, allocations: 3.938 kB / 1.315 GB, free: 186 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/2.129, allocations: 326.9 kB / 1.316 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/2.129, allocations: 11.41 kB / 1.316 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/2.129, allocations: 46.39 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/2.129, allocations: 17.03 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/2.129, allocations: 4 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001655/2.13, allocations: 81.67 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/2.13, allocations: 5.312 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/2.13, allocations: 2.438 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/2.13, allocations: 2.625 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/2.13, allocations: 22.98 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/2.13, allocations: 6.094 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/2.13, allocations: 5.906 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/2.13, allocations: 3.438 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.629e-05/2.13, allocations: 112.9 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001688/2.13, allocations: 61.59 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/2.13, allocations: 6.938 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/2.13, allocations: 8.812 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/2.13, allocations: 5.734 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.13, allocations: 2.812 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.13, allocations: 3.953 kB / 1.316 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/2.131, allocations: 145.7 kB / 1.316 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/2.131, allocations: 7.859 kB / 1.316 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/2.131, allocations: 14.66 kB / 1.316 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/2.131, allocations: 5.312 kB / 1.316 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/2.131, allocations: 1.25 kB / 1.316 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/2.131, allocations: 1.406 kB / 1.316 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.131, allocations: 0 / 1.316 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/2.131, allocations: 352.1 kB / 1.317 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/2.131, allocations: 79.77 kB / 1.317 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/2.131, allocations: 5.562 kB / 1.317 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/2.132, allocations: 7.969 kB / 1.317 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/2.132, allocations: 10.58 kB / 1.317 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/2.132, allocations: 6.812 kB / 1.317 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.593e-05/2.132, allocations: 80.11 kB / 1.317 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/2.132, allocations: 5.375 kB / 1.317 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004921/2.132, allocations: 9.875 kB / 1.317 GB, free: 184.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004679/2.133, allocations: 1.022 MB / 1.318 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001403/2.133, allocations: 41.72 kB / 1.318 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.133, allocations: 5.219 kB / 1.318 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/2.133, allocations: 14.12 kB / 1.318 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/2.133, allocations: 7.875 kB / 1.318 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/2.134, allocations: 317.9 kB / 1.318 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/2.134, allocations: 0.6861 MB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.161e-05/2.135, allocations: 7.875 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/2.135, allocations: 14.19 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/2.135, allocations: 3.281 kB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/2.169, allocations: 1.093 MB / 1.32 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/2.169, allocations: 186.6 kB / 1.32 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/4.541, allocations: 3.719 kB / 1.32 GB, free: 182.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)