Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 119.6 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 190.9 kB / 18.02 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8406/0.8406, allocations: 126.4 MB / 418.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68.33 kB / 0.5742 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1369, allocations: 78.78 MB / 0.6511 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002396/0.1393, allocations: 1.264 MB / 0.6523 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1426, allocations: 2.505 MB / 0.6548 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1426, allocations: 0 / 0.6548 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1426, allocations: 0 / 0.6548 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.1427, allocations: 7.922 kB / 0.6548 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.1432, allocations: 135.4 kB / 0.6549 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.1433, allocations: 39.84 kB / 0.6549 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1433, allocations: 0 / 0.6549 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.1434, allocations: 19.92 kB / 0.655 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.1434, allocations: 15.92 kB / 0.655 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1435, allocations: 4 kB / 0.655 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1438, allocations: 115.8 kB / 0.6551 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1438, allocations: 12 kB / 0.6551 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1438, allocations: 15.92 kB / 0.6551 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1441, allocations: 95.64 kB / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1441, allocations: 0 / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1441, allocations: 0 / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.1441, allocations: 0 / 0.6552 GB, free: 15.38 MB / 0.4981 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.000434/0.1445, allocations: 355.3 kB / 0.6556 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1446, allocations: 8.031 kB / 0.6556 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.1448, allocations: 8.938 kB / 0.6556 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1449, allocations: 172.4 kB / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.1449, allocations: 384 / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.145, allocations: 12.33 kB / 0.6557 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1451, allocations: 76.31 kB / 0.6558 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1451, allocations: 0 / 0.6558 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1451, allocations: 4 kB / 0.6558 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1452, allocations: 0 / 0.6558 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.1452, allocations: 11.98 kB / 0.6558 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.1458, allocations: 470.8 kB / 0.6563 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.146, allocations: 75.66 kB / 0.6564 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.146, allocations: 22.7 kB / 0.6564 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.1461, allocations: 0 / 0.6564 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1461, allocations: 34.56 kB / 0.6564 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1461, allocations: 0 / 0.6564 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.00065/0.1468, allocations: 306.5 kB / 0.6567 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.1468, allocations: 114.7 kB / 0.6568 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.1469, allocations: 101.8 kB / 0.6569 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1469, allocations: 25.7 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.147, allocations: 88.03 kB / 0.657 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.147, allocations: 35.72 kB / 0.657 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1471, allocations: 25.72 kB / 0.6571 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1472, allocations: 326.8 kB / 0.6574 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.1473, allocations: 8 kB / 0.6574 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1473, allocations: 53.14 kB / 0.6574 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1474, allocations: 77.08 kB / 0.6575 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1474, allocations: 0 / 0.6575 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001522/0.1476, allocations: 102 kB / 0.6576 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1476, allocations: 7.984 kB / 0.6576 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1476, allocations: 4 kB / 0.6576 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1477, allocations: 0 / 0.6576 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1477, allocations: 24.12 kB / 0.6576 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1478, allocations: 0 / 0.6576 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1478, allocations: 4 kB / 0.6577 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1478, allocations: 4 kB / 0.6577 GB, free: 12.52 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.1479, allocations: 129.1 kB / 0.6578 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.148, allocations: 4 kB / 0.6578 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.148, allocations: 11.56 kB / 0.6578 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.148, allocations: 0 / 0.6578 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.148, allocations: 0 / 0.6578 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1481, allocations: 4 kB / 0.6578 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.1484, allocations: 181.6 kB / 0.658 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1484, allocations: 0 / 0.658 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.1485, allocations: 20.05 kB / 0.658 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1486, allocations: 4 kB / 0.658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1486, allocations: 0 / 0.658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1486, allocations: 0 / 0.658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1486, allocations: 0 / 0.658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1489, allocations: 341.9 kB / 0.6583 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.1489, allocations: 85.05 kB / 0.6584 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1489, allocations: 0 / 0.6584 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1491, allocations: 8.031 kB / 0.6584 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.1492, allocations: 8 kB / 0.6584 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1492, allocations: 3.938 kB / 0.6584 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.1492, allocations: 79.28 kB / 0.6585 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1492, allocations: 4 kB / 0.6585 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000339/0.1496, allocations: 23.92 kB / 0.6585 GB, free: 11.54 MB / 0.4981 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 (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.0001261/0.1497, allocations: 107.2 kB / 0.6586 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1498, allocations: 43.92 kB / 0.6587 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1499, allocations: 0 / 0.6587 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.1499, allocations: 24.17 kB / 0.6587 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1503, allocations: 14.02 kB / 0.6587 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.151, allocations: 340 kB / 0.659 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1513, allocations: 0.6807 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.1514, allocations: 8 kB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1514, allocations: 11.44 kB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1514, allocations: 0 / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.003146/0.1546, allocations: 0.6532 MB / 0.6603 GB, free: 9.609 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)