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.8538/0.8538, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 192.7 kB / 169.7 MB, free: 1.734 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.663/1.663, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0008745/0.0008746, allocations: 94.16 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.919e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1781, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.424, allocations: 316.2 MB / 0.9369 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.424, allocations: 76.02 kB / 0.937 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01739/1.442, allocations: 8.386 MB / 0.9452 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.442, allocations: 0 / 0.9452 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.442, allocations: 0 / 0.9452 GB, free: 180.1 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.0002661/1.442, allocations: 341.6 kB / 0.9455 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.442, allocations: 11.69 kB / 0.9455 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/1.442, allocations: 19.53 kB / 0.9455 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/1.442, allocations: 163.1 kB / 0.9457 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.442, allocations: 0 / 0.9457 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/1.442, allocations: 7.188 kB / 0.9457 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/1.443, allocations: 72.09 kB / 0.9458 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.443, allocations: 0 / 0.9458 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.443, allocations: 0 / 0.9458 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.443, allocations: 0 / 0.9458 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/1.443, allocations: 22.84 kB / 0.9458 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/1.443, allocations: 480.4 kB / 0.9462 GB, free: 179 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.443, allocations: 70.48 kB / 0.9463 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/1.443, allocations: 21.45 kB / 0.9463 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/1.443, allocations: 3.75 kB / 0.9463 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/1.443, allocations: 34.59 kB / 0.9464 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/1.443, allocations: 0 / 0.9464 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000531/1.444, allocations: 296.2 kB / 0.9466 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.444, allocations: 114 kB / 0.9467 GB, free: 178.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/1.444, allocations: 96.73 kB / 0.9468 GB, free: 178.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/1.444, allocations: 28.89 kB / 0.9469 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/1.444, allocations: 84.05 kB / 0.9469 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/1.444, allocations: 27.2 kB / 0.947 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/1.444, allocations: 3.812 kB / 0.947 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/1.444, allocations: 318.8 kB / 0.9473 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/1.444, allocations: 11.25 kB / 0.9473 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/1.444, allocations: 49.75 kB / 0.9473 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/1.444, allocations: 21.89 kB / 0.9474 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.444, allocations: 0 / 0.9474 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001049/1.444, allocations: 93.33 kB / 0.9474 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.444, allocations: 7.719 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.445, allocations: 3.938 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.445, allocations: 7.828 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/1.445, allocations: 19.36 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.445, allocations: 3.875 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/1.445, allocations: 7.812 kB / 0.9475 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.445, allocations: 3.812 kB / 0.9475 GB, free: 177.8 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 5.055e-05/1.445, allocations: 112.2 kB / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/1.445, allocations: 3.969 kB / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/1.445, allocations: 7.281 kB / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.445, allocations: 3.953 kB / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.445, allocations: 11.92 kB / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.445, allocations: 0 / 0.9476 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/1.445, allocations: 187.6 kB / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.445, allocations: 4 kB / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/1.445, allocations: 15.53 kB / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.445, allocations: 0 / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.445, allocations: 3.969 kB / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/1.445, allocations: 0 / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.445, allocations: 7.891 kB / 0.9478 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/1.445, allocations: 354.9 kB / 0.9482 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/1.446, allocations: 80.98 kB / 0.9483 GB, free: 177 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/1.446, allocations: 15.73 kB / 0.9483 GB, free: 177 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/1.446, allocations: 0 / 0.9483 GB, free: 177 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/1.446, allocations: 3.875 kB / 0.9483 GB, free: 177 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/1.446, allocations: 3.875 kB / 0.9483 GB, free: 177 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.338e-05/1.446, allocations: 82.77 kB / 0.9484 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.446, allocations: 4 kB / 0.9484 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002911/1.446, allocations: 15.31 kB / 0.9484 GB, free: 176.9 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.0001374/1.446, allocations: 110.1 kB / 0.9485 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.446, allocations: 41.94 kB / 0.9485 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.446, allocations: 0 / 0.9485 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/1.446, allocations: 23.3 kB / 0.9485 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/1.447, allocations: 12.64 kB / 0.9486 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/1.447, allocations: 286.4 kB / 0.9488 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/1.447, allocations: 0.6883 MB / 0.9495 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.273e-05/1.447, allocations: 7.875 kB / 0.9495 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/1.447, allocations: 11.31 kB / 0.9495 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/1.447, allocations: 0 / 0.9495 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.002764/1.45, allocations: 0.6177 MB / 0.9501 GB, free: 175.5 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)