Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 101.7 kB / 16.4 MB, free: 6.504 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.001627/0.001628, allocations: 196 kB / 17.34 MB, free: 5.742 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.391/1.391, allocations: 222.9 MB / 241 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.7127/0.7127, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 64.95 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 76.18 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01664/0.196, allocations: 12.97 MB / 0.6448 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.199, allocations: 2.663 MB / 0.6474 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1991, allocations: 7.938 kB / 0.6474 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1994, allocations: 47.67 kB / 0.6475 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1998, allocations: 99.42 kB / 0.6476 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2012, allocations: 0.5072 MB / 0.648 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.2014, allocations: 235.9 kB / 0.6483 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.2015, allocations: 13.55 kB / 0.6483 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009191/0.2107, allocations: 3.576 MB / 0.6518 GB, free: 168 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2109, allocations: 95.61 kB / 0.6519 GB, free: 72 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.211, allocations: 8 kB / 0.6519 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.2137, allocations: 1.08 MB / 0.6529 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.2138, allocations: 35.83 kB / 0.653 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2139, allocations: 83.64 kB / 0.653 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.2147, allocations: 375 kB / 0.6534 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2147, allocations: 0 / 0.6534 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2147, allocations: 0 / 0.6534 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2147, allocations: 0 / 0.6534 GB, free: 14.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007842/0.2155, allocations: 0.4993 MB / 0.6539 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2156, allocations: 12.02 kB / 0.6539 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2158, allocations: 20.75 kB / 0.6539 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.2161, allocations: 216.1 kB / 0.6541 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2161, allocations: 12.7 kB / 0.6541 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.2161, allocations: 28.3 kB / 0.6542 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.2165, allocations: 248.2 kB / 0.6544 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2165, allocations: 0 / 0.6544 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.2166, allocations: 8 kB / 0.6544 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.2166, allocations: 4 kB / 0.6544 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.2171, allocations: 431.3 kB / 0.6548 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2182, allocations: 0.9643 MB / 0.6558 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2185, allocations: 166.9 kB / 0.6559 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2186, allocations: 60.88 kB / 0.656 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.22, allocations: 1.837 MB / 0.6578 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.22, allocations: 34.56 kB / 0.6578 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.22, allocations: 11.92 kB / 0.6578 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000346/0.2204, allocations: 145.4 kB / 0.658 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2204, allocations: 55.34 kB / 0.658 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2206, allocations: 169 kB / 0.6582 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2206, allocations: 25.7 kB / 0.6582 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2207, allocations: 139.8 kB / 0.6583 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.2208, allocations: 59.19 kB / 0.6584 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.2208, allocations: 53.61 kB / 0.6584 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.221, allocations: 330.8 kB / 0.6588 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.221, allocations: 31.98 kB / 0.6588 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2212, allocations: 149.7 kB / 0.6589 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2214, allocations: 200.1 kB / 0.6591 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2214, allocations: 4 kB / 0.6591 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/0.2218, allocations: 205.2 kB / 0.6593 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2218, allocations: 8.469 kB / 0.6593 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2218, allocations: 8 kB / 0.6593 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2218, allocations: 4 kB / 0.6593 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.222, allocations: 59.84 kB / 0.6594 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.222, allocations: 8 kB / 0.6594 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2221, allocations: 27.69 kB / 0.6594 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2222, allocations: 12 kB / 0.6594 GB, free: 7.586 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001075/0.2223, allocations: 133.7 kB / 0.6596 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.2223, allocations: 19.8 kB / 0.6596 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.2227, allocations: 158.9 kB / 0.6597 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.2227, allocations: 7.938 kB / 0.6597 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2227, allocations: 0 / 0.6597 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2227, allocations: 0 / 0.6597 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2229, allocations: 217.5 kB / 0.66 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2229, allocations: 0 / 0.66 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.223, allocations: 23.98 kB / 0.66 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.2231, allocations: 0 / 0.66 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2231, allocations: 11.94 kB / 0.66 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2231, allocations: 3.938 kB / 0.66 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2231, allocations: 0 / 0.66 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2233, allocations: 226 kB / 0.6602 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.2234, allocations: 109 kB / 0.6603 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2235, allocations: 0 / 0.6603 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2237, allocations: 19.92 kB / 0.6603 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.2237, allocations: 7.984 kB / 0.6603 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2237, allocations: 16 kB / 0.6604 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.223e-05/0.2238, allocations: 125.6 kB / 0.6605 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2238, allocations: 4 kB / 0.6605 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004032/0.2242, allocations: 75.84 kB / 0.6606 GB, free: 6.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003161/0.2246, allocations: 191.1 kB / 0.6607 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.2248, allocations: 115.8 kB / 0.6608 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2248, allocations: 3.938 kB / 0.6608 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.2249, allocations: 39.98 kB / 0.6609 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.2254, allocations: 58.39 kB / 0.6609 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.2261, allocations: 339 kB / 0.6613 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.2264, allocations: 0.7166 MB / 0.662 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.2265, allocations: 53.73 kB / 0.662 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.2266, allocations: 19.44 kB / 0.662 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2266, allocations: 0 / 0.662 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.007471/0.234, allocations: 3.65 MB / 0.6656 GB, free: 1.156 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)