Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7938/0.7938, allocations: 127.4 MB / 134.9 MB, free: 3.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 180.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.2 MB / 399.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 86.47 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.395e-05, allocations: 4 kB / 0.5466 GB, free: 60.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 76.76 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.106, allocations: 315.7 MB / 0.9299 GB, free: 228 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.106, allocations: 84.83 kB / 0.93 GB, free: 228 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01711/1.124, allocations: 8.349 MB / 0.9381 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/1.124, allocations: 3.938 kB / 0.9381 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.949e-06/1.124, allocations: 0 / 0.9381 GB, free: 219.7 MB / 0.6355 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.0002347/1.124, allocations: 343.5 kB / 0.9384 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.124, allocations: 12.03 kB / 0.9384 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/1.124, allocations: 15.94 kB / 0.9385 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/1.124, allocations: 159.1 kB / 0.9386 GB, free: 219.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/1.124, allocations: 4 kB / 0.9386 GB, free: 219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/1.124, allocations: 4.625 kB / 0.9386 GB, free: 219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.778e-05/1.124, allocations: 4 kB / 0.9386 GB, free: 219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/1.124, allocations: 72.19 kB / 0.9387 GB, free: 219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.124, allocations: 0 / 0.9387 GB, free: 219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/1.124, allocations: 4 kB / 0.9387 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/1.124, allocations: 0 / 0.9387 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/1.125, allocations: 443.4 kB / 0.9391 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/1.125, allocations: 71.66 kB / 0.9392 GB, free: 218.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/1.125, allocations: 18.7 kB / 0.9392 GB, free: 218.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/1.125, allocations: 4 kB / 0.9392 GB, free: 218.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/1.125, allocations: 38.5 kB / 0.9392 GB, free: 218.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/1.125, allocations: 4 kB / 0.9393 GB, free: 218.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004479/1.125, allocations: 290.3 kB / 0.9395 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/1.125, allocations: 106.8 kB / 0.9396 GB, free: 217.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.442e-05/1.126, allocations: 89 kB / 0.9397 GB, free: 217.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/1.126, allocations: 25.7 kB / 0.9397 GB, free: 217.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/1.126, allocations: 88.03 kB / 0.9398 GB, free: 217.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/1.126, allocations: 27.72 kB / 0.9399 GB, free: 217.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.126, allocations: 0 / 0.9399 GB, free: 217.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/1.126, allocations: 322.8 kB / 0.9402 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/1.126, allocations: 8 kB / 0.9402 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/1.126, allocations: 53.03 kB / 0.9402 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/1.126, allocations: 19.98 kB / 0.9402 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/1.126, allocations: 0 / 0.9402 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.947e-05/1.126, allocations: 89.45 kB / 0.9403 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.126, allocations: 4 kB / 0.9403 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.126, allocations: 0 / 0.9403 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.126, allocations: 4 kB / 0.9403 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/1.126, allocations: 16 kB / 0.9403 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/1.126, allocations: 16.06 kB / 0.9404 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/1.126, allocations: 0 / 0.9404 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/1.126, allocations: 4 kB / 0.9404 GB, free: 217 MB / 0.6355 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 4.928e-05/1.126, allocations: 104.9 kB / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.126, allocations: 8 kB / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/1.126, allocations: 8.188 kB / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.126, allocations: 0 / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.126, allocations: 4.062 kB / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.126, allocations: 3.953 kB / 0.9405 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/1.127, allocations: 158.2 kB / 0.9406 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.127, allocations: 0 / 0.9406 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/1.127, allocations: 19.98 kB / 0.9407 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.127, allocations: 0 / 0.9407 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/1.127, allocations: 8 kB / 0.9407 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.127, allocations: 0 / 0.9407 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.127, allocations: 0 / 0.9407 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/1.127, allocations: 349.3 kB / 0.941 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/1.127, allocations: 85.14 kB / 0.9411 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/1.127, allocations: 0 / 0.9411 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.127, allocations: 4 kB / 0.9411 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/1.127, allocations: 11.94 kB / 0.9411 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/1.127, allocations: 0 / 0.9411 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.859e-05/1.127, allocations: 87.7 kB / 0.9412 GB, free: 216.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 3.938 kB / 0.9412 GB, free: 216.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002955/1.127, allocations: 12 kB / 0.9412 GB, free: 216.1 MB / 0.6355 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.0001258/1.128, allocations: 115.3 kB / 0.9413 GB, free: 216 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.152e-05/1.128, allocations: 39.92 kB / 0.9413 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.128, allocations: 0 / 0.9413 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/1.128, allocations: 16.25 kB / 0.9414 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/1.128, allocations: 8.062 kB / 0.9414 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/1.129, allocations: 282.1 kB / 0.9416 GB, free: 215.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/1.129, allocations: 0.6885 MB / 0.9423 GB, free: 214.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.372e-05/1.129, allocations: 4 kB / 0.9423 GB, free: 214.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/1.129, allocations: 11.44 kB / 0.9423 GB, free: 214.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.129, allocations: 0 / 0.9423 GB, free: 214.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.00219/1.131, allocations: 0.5847 MB / 0.9429 GB, free: 214.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)