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.7058/0.7058, allocations: 128.7 MB / 144.5 MB, free: 1.379 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.001286/0.001286, allocations: 186.2 kB / 174.2 MB, free: 5.918 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.371/1.371, allocations: 205.1 MB / 408.9 MB, free: 9.73 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.0009071/0.0009071, allocations: 107.5 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 56.36 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1171, allocations: 75.48 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002053/0.1192, allocations: 1.325 MB / 0.633 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1214, allocations: 2.516 MB / 0.6354 GB, free: 29.13 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1215, allocations: 0 / 0.6354 GB, free: 29.13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.1215, allocations: 3.984 kB / 0.6354 GB, free: 29.12 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.1216, allocations: 3.938 kB / 0.6354 GB, free: 29.12 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.122, allocations: 107.5 kB / 0.6355 GB, free: 29.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.1221, allocations: 39.86 kB / 0.6356 GB, free: 28.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.1221, allocations: 4 kB / 0.6356 GB, free: 28.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.1221, allocations: 27.91 kB / 0.6356 GB, free: 28.95 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.1222, allocations: 11.92 kB / 0.6356 GB, free: 28.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1222, allocations: 4 kB / 0.6356 GB, free: 28.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1224, allocations: 107.8 kB / 0.6357 GB, free: 28.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1225, allocations: 11.98 kB / 0.6357 GB, free: 28.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.1225, allocations: 15.92 kB / 0.6358 GB, free: 28.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1227, allocations: 83.78 kB / 0.6358 GB, free: 28.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1227, allocations: 0 / 0.6358 GB, free: 28.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1227, allocations: 3.984 kB / 0.6358 GB, free: 28.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1227, allocations: 4 kB / 0.6358 GB, free: 28.71 MB / 442.7 MB 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.0003154/0.123, allocations: 346.6 kB / 0.6362 GB, free: 28.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.123, allocations: 12.03 kB / 0.6362 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.1232, allocations: 12.92 kB / 0.6362 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.561e-05/0.1233, allocations: 164.3 kB / 0.6364 GB, free: 28.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1233, allocations: 8.375 kB / 0.6364 GB, free: 28.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1234, allocations: 8.281 kB / 0.6364 GB, free: 28.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1235, allocations: 80.36 kB / 0.6364 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1235, allocations: 3.938 kB / 0.6365 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1235, allocations: 0 / 0.6365 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1235, allocations: 0 / 0.6365 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.1236, allocations: 15.92 kB / 0.6365 GB, free: 27.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.124, allocations: 470.9 kB / 0.6369 GB, free: 27.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1241, allocations: 71.83 kB / 0.637 GB, free: 27.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.1241, allocations: 22.62 kB / 0.637 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1242, allocations: 4 kB / 0.637 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.1242, allocations: 34.56 kB / 0.637 GB, free: 27.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1242, allocations: 4 kB / 0.637 GB, free: 27.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004987/0.1247, allocations: 298.1 kB / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1247, allocations: 111 kB / 0.6374 GB, free: 26.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.1248, allocations: 101.8 kB / 0.6375 GB, free: 26.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.1248, allocations: 25.7 kB / 0.6376 GB, free: 26.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.1248, allocations: 96.03 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.1248, allocations: 23.59 kB / 0.6377 GB, free: 26.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.1249, allocations: 29.61 kB / 0.6377 GB, free: 26.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.1249, allocations: 322.8 kB / 0.638 GB, free: 26.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1249, allocations: 15.98 kB / 0.638 GB, free: 26.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.125, allocations: 53.14 kB / 0.6381 GB, free: 26.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.1251, allocations: 65.09 kB / 0.6381 GB, free: 26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1251, allocations: 4 kB / 0.6381 GB, free: 26 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000105/0.1252, allocations: 98.16 kB / 0.6382 GB, free: 25.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1252, allocations: 4 kB / 0.6382 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1252, allocations: 64 / 0.6382 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1252, allocations: 11.98 kB / 0.6383 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.1253, allocations: 23.92 kB / 0.6383 GB, free: 25.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1253, allocations: 4 kB / 0.6383 GB, free: 25.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.1253, allocations: 0 / 0.6383 GB, free: 25.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1254, allocations: 8.125 kB / 0.6383 GB, free: 25.85 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.1254, allocations: 129.7 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.1255, allocations: 7.906 kB / 0.6384 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.1255, allocations: 15.48 kB / 0.6384 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1255, allocations: 0 / 0.6384 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1255, allocations: 4 kB / 0.6384 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1255, allocations: 0 / 0.6384 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1258, allocations: 173.6 kB / 0.6386 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1258, allocations: 0 / 0.6386 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.1259, allocations: 16 kB / 0.6386 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1259, allocations: 4 kB / 0.6386 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1259, allocations: 4 kB / 0.6386 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1259, allocations: 7.984 kB / 0.6386 GB, free: 25.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1259, allocations: 0 / 0.6386 GB, free: 25.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.1266, allocations: 1.217 MB / 0.6398 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.1266, allocations: 85.11 kB / 0.6399 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-06/0.1266, allocations: 4 kB / 0.6399 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1268, allocations: 12.03 kB / 0.6399 GB, free: 23.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1268, allocations: 7.938 kB / 0.6399 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1268, allocations: 12 kB / 0.6399 GB, free: 23.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.1269, allocations: 79.27 kB / 0.64 GB, free: 23.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1269, allocations: 0 / 0.64 GB, free: 23.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.1272, allocations: 20 kB / 0.64 GB, free: 23.85 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.1273, allocations: 103.5 kB / 0.6401 GB, free: 23.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.1274, allocations: 44.17 kB / 0.6402 GB, free: 23.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1274, allocations: 4 kB / 0.6402 GB, free: 23.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.1275, allocations: 27.86 kB / 0.6402 GB, free: 23.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1279, allocations: 4.078 kB / 0.6402 GB, free: 23.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.1284, allocations: 480.4 kB / 0.6407 GB, free: 23.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.1286, allocations: 0.6888 MB / 0.6413 GB, free: 22.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.1286, allocations: 7.984 kB / 0.6413 GB, free: 22.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1286, allocations: 11.44 kB / 0.6414 GB, free: 22.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1287, allocations: 7.938 kB / 0.6414 GB, free: 22.41 MB / 442.7 MB Notification: Performance of Templates: time 0.002369/0.131, allocations: 0.6666 MB / 0.642 GB, free: 21.78 MB / 442.7 MB 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)