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.8617/0.8617, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001259/0.001259, allocations: 184.2 kB / 173.8 MB, free: 6.109 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.739/1.739, allocations: 205.4 MB / 409 MB, free: 10.47 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.001105/0.001105, allocations: 94.53 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 8.625 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8209/1.012, allocations: 316.2 MB / 0.9441 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.012, allocations: 89.08 kB / 0.9442 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02619/1.038, allocations: 8.437 MB / 0.9525 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/1.038, allocations: 4 kB / 0.9525 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.038, allocations: 0 / 0.9525 GB, free: 1.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005189/1.039, allocations: 346.8 kB / 0.9528 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.039, allocations: 8.031 kB / 0.9528 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/1.039, allocations: 20.38 kB / 0.9528 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.039, allocations: 159.1 kB / 0.953 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.039, allocations: 7.938 kB / 0.953 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/1.039, allocations: 15.34 kB / 0.953 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.039, allocations: 71.55 kB / 0.9531 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.04, allocations: 0 / 0.9531 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.04, allocations: 0 / 0.9531 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.04, allocations: 0 / 0.9531 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/1.04, allocations: 15.92 kB / 0.9531 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/1.04, allocations: 469.5 kB / 0.9535 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/1.041, allocations: 71.03 kB / 0.9536 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.041, allocations: 4 kB / 0.9536 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.041, allocations: 42.64 kB / 0.9536 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/1.041, allocations: 0 / 0.9536 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0008316/1.042, allocations: 298.9 kB / 0.9539 GB, free: 200 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/1.042, allocations: 111.1 kB / 0.954 GB, free: 64 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.042, allocations: 96.94 kB / 0.9541 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.042, allocations: 25.7 kB / 0.9541 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/1.042, allocations: 84.05 kB / 0.9542 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/1.042, allocations: 31.12 kB / 0.9543 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/1.042, allocations: 3.625 kB / 0.9543 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.042, allocations: 314.8 kB / 0.9546 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/1.042, allocations: 15.48 kB / 0.9546 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/1.042, allocations: 52.52 kB / 0.9546 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/1.042, allocations: 27.17 kB / 0.9547 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.042, allocations: 3.938 kB / 0.9547 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001846/1.042, allocations: 99.98 kB / 0.9548 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.042, allocations: 8 kB / 0.9548 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.043, allocations: 0 / 0.9548 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.043, allocations: 7.953 kB / 0.9548 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.043, allocations: 19.98 kB / 0.9548 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.043, allocations: 0 / 0.9548 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/1.043, allocations: 7.938 kB / 0.9548 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/1.043, allocations: 4 kB / 0.9548 GB, free: 15.27 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 () * 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.0001139/1.043, allocations: 120.7 kB / 0.9549 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/1.043, allocations: 11.97 kB / 0.9549 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/1.043, allocations: 7.062 kB / 0.9549 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.043, allocations: 0 / 0.9549 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.043, allocations: 7.953 kB / 0.9549 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.043, allocations: 0 / 0.9549 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/1.044, allocations: 176.8 kB / 0.9551 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.044, allocations: 4.062 kB / 0.9551 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/1.044, allocations: 19.98 kB / 0.9551 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.044, allocations: 0 / 0.9551 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.044, allocations: 0 / 0.9551 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.044, allocations: 7.938 kB / 0.9551 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.044, allocations: 4 kB / 0.9551 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/1.044, allocations: 343.6 kB / 0.9555 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/1.044, allocations: 92.36 kB / 0.9556 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/1.044, allocations: 7.953 kB / 0.9556 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.045, allocations: 4 kB / 0.9556 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/1.045, allocations: 4 kB / 0.9556 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.045, allocations: 15.36 kB / 0.9556 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.052e-05/1.045, allocations: 75.28 kB / 0.9557 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/1.045, allocations: 0 / 0.9557 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000491/1.045, allocations: 15.81 kB / 0.9557 GB, free: 14.31 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 () * 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.0001845/1.045, allocations: 113.6 kB / 0.9558 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001465/1.045, allocations: 38.92 kB / 0.9558 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.045, allocations: 4 kB / 0.9558 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/1.046, allocations: 19.86 kB / 0.9558 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/1.046, allocations: 11.5 kB / 0.9559 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/1.047, allocations: 408.6 kB / 0.9562 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.047, allocations: 0.6848 MB / 0.9569 GB, free: 13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.543e-05/1.047, allocations: 7.984 kB / 0.9569 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/1.047, allocations: 11.44 kB / 0.9569 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/1.047, allocations: 4 kB / 0.9569 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.003625/1.051, allocations: 0.5988 MB / 0.9575 GB, free: 12.41 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)