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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6567/0.6567, allocations: 117.9 MB / 133.9 MB, free: 4.543 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.001045/0.001045, allocations: 166.6 kB / 161.7 MB, free: 2.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0008206/0.0008206, allocations: 96.02 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 8 kB / 0.5423 GB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3871, allocations: 74.54 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7501/1.137, allocations: 315.1 MB / 0.9229 GB, free: 12 kB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/1.138, allocations: 83.27 kB / 0.923 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0251/1.163, allocations: 8.436 MB / 0.9312 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.717e-06/1.163, allocations: 0 / 0.9312 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.163, allocations: 0 / 0.9312 GB, free: 9.133 MB / 0.5886 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.0004513/1.163, allocations: 358.6 kB / 0.9315 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.163, allocations: 8.031 kB / 0.9315 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/1.164, allocations: 12.94 kB / 0.9316 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.164, allocations: 164.4 kB / 0.9317 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/1.164, allocations: 3.75 kB / 0.9317 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/1.164, allocations: 4.375 kB / 0.9317 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/1.164, allocations: 66.77 kB / 0.9318 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.164, allocations: 4.188 kB / 0.9318 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.164, allocations: 11.88 kB / 0.9318 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.164, allocations: 3.984 kB / 0.9318 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/1.164, allocations: 8 kB / 0.9318 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/1.165, allocations: 476.2 kB / 0.9323 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/1.165, allocations: 74.27 kB / 0.9323 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/1.165, allocations: 25.89 kB / 0.9324 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/1.165, allocations: 4 kB / 0.9324 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.165, allocations: 42.22 kB / 0.9324 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/1.165, allocations: 0 / 0.9324 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008619/1.166, allocations: 298.2 kB / 0.9327 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/1.166, allocations: 110 kB / 0.9328 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.166, allocations: 102 kB / 0.9329 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.166, allocations: 32.83 kB / 0.9329 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/1.166, allocations: 84.05 kB / 0.933 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/1.167, allocations: 35.03 kB / 0.933 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/1.167, allocations: 3.875 kB / 0.933 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.167, allocations: 314.8 kB / 0.9333 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/1.167, allocations: 15.86 kB / 0.9334 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/1.167, allocations: 56.31 kB / 0.9334 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/1.167, allocations: 64.59 kB / 0.9335 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.167, allocations: 4 kB / 0.9335 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001937/1.167, allocations: 95.3 kB / 0.9336 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.167, allocations: 4 kB / 0.9336 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.167, allocations: 0 / 0.9336 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.167, allocations: 4 kB / 0.9336 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.167, allocations: 23.92 kB / 0.9336 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.167, allocations: 4 kB / 0.9336 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/1.167, allocations: 7.406 kB / 0.9336 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.167, allocations: 4 kB / 0.9336 GB, free: 6.406 MB / 0.5886 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 () * Number of clocked 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 0.0001035/1.168, allocations: 129.5 kB / 0.9337 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/1.168, allocations: 4 kB / 0.9337 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/1.168, allocations: 14.41 kB / 0.9338 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.168, allocations: 4 kB / 0.9338 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.168, allocations: 0 / 0.9338 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.168, allocations: 0 / 0.9338 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/1.168, allocations: 179.5 kB / 0.9339 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.168, allocations: 0 / 0.9339 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.168, allocations: 16 kB / 0.9339 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.168, allocations: 0 / 0.9339 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.168, allocations: 3.984 kB / 0.934 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.168, allocations: 11.98 kB / 0.934 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.168, allocations: 0 / 0.934 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/1.169, allocations: 327.8 kB / 0.9343 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/1.169, allocations: 81.14 kB / 0.9344 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/1.169, allocations: 6.312 kB / 0.9344 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/1.169, allocations: 0 / 0.9344 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/1.169, allocations: 15.67 kB / 0.9344 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.169, allocations: 7.938 kB / 0.9344 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.92e-05/1.169, allocations: 75.28 kB / 0.9345 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.91e-07/1.169, allocations: 0 / 0.9345 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005005/1.17, allocations: 14.44 kB / 0.9345 GB, free: 5.473 MB / 0.5886 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 () * Number of clocked 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.0002134/1.17, allocations: 122.8 kB / 0.9346 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001609/1.17, allocations: 51.17 kB / 0.9346 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.17, allocations: 0 / 0.9346 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/1.17, allocations: 16 kB / 0.9346 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/1.171, allocations: 8.016 kB / 0.9347 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/1.172, allocations: 406.6 kB / 0.935 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.172, allocations: 0.6809 MB / 0.9357 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.01e-05/1.172, allocations: 8 kB / 0.9357 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/1.172, allocations: 19.36 kB / 0.9357 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/1.172, allocations: 0 / 0.9357 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of Templates: time 0.003697/1.176, allocations: 0.6096 MB / 0.9363 GB, free: 3.566 MB / 0.5886 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)