Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.001851/0.001851, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7791/0.7791, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.7 kB / 0.5726 GB, free: 27.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 78.71 MB / 0.6494 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002292/0.1406, allocations: 1.258 MB / 0.6507 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1443, allocations: 2.928 MB / 0.6535 GB, free: 384 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1444, allocations: 0 / 0.6535 GB, free: 384 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.1444, allocations: 7.984 kB / 0.6535 GB, free: 376 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.1445, allocations: 3.938 kB / 0.6535 GB, free: 372 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.145, allocations: 99.55 kB / 0.6536 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.145, allocations: 35.91 kB / 0.6537 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.1451, allocations: 7.984 kB / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.1456, allocations: 159.5 kB / 0.6538 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.1456, allocations: 19.97 kB / 0.6538 GB, free: 48 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1456, allocations: 4 kB / 0.6538 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1458, allocations: 59.88 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1458, allocations: 15.92 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1459, allocations: 23.81 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.146, allocations: 56.14 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1461, allocations: 0 / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1461, allocations: 0 / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1461, allocations: 0 / 0.654 GB, free: 15.89 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.0003807/0.1465, allocations: 355.3 kB / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1465, allocations: 16.03 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.1466, allocations: 34.75 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1466, allocations: 4.938 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1467, allocations: 168.3 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1467, allocations: 384 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1467, allocations: 12.33 kB / 0.6545 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1469, allocations: 53.61 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1469, allocations: 0 / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1469, allocations: 4 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1469, allocations: 4 kB / 0.6546 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.147, allocations: 15.98 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.1472, allocations: 161.7 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.1473, allocations: 58.48 kB / 0.6548 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1473, allocations: 12.86 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/0.148, allocations: 0.5987 MB / 0.6554 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1481, allocations: 34.56 kB / 0.6555 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.845e-06/0.1481, allocations: 3.984 kB / 0.6555 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006071/0.1487, allocations: 302.2 kB / 0.6558 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1487, allocations: 55.34 kB / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.1488, allocations: 101.8 kB / 0.6559 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1488, allocations: 37.7 kB / 0.6559 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1489, allocations: 84.09 kB / 0.656 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1489, allocations: 27.75 kB / 0.656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.149, allocations: 29.7 kB / 0.6561 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.1491, allocations: 310.8 kB / 0.6564 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.1491, allocations: 19.92 kB / 0.6564 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.1492, allocations: 53.14 kB / 0.6564 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.1493, allocations: 69.53 kB / 0.6565 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1493, allocations: 4 kB / 0.6565 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.1494, allocations: 93.55 kB / 0.6566 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1494, allocations: 4 kB / 0.6566 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1494, allocations: 8 kB / 0.6566 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1495, allocations: 0 / 0.6566 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1495, allocations: 23.92 kB / 0.6566 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1496, allocations: 8.062 kB / 0.6566 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.1496, allocations: 11.88 kB / 0.6567 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1496, allocations: 4 kB / 0.6567 GB, free: 12.73 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 8.698e-05/0.1497, allocations: 121.9 kB / 0.6568 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1497, allocations: 7.953 kB / 0.6568 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.1498, allocations: 7.969 kB / 0.6568 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1498, allocations: 3.984 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1498, allocations: 0 / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1498, allocations: 3.938 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.15, allocations: 173.7 kB / 0.657 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1501, allocations: 0 / 0.657 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.274e-05/0.1501, allocations: 16 kB / 0.657 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1502, allocations: 0 / 0.657 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1502, allocations: 4 kB / 0.657 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1502, allocations: 4 kB / 0.657 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1502, allocations: 0 / 0.657 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1504, allocations: 179.4 kB / 0.6572 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1504, allocations: 81.14 kB / 0.6572 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1505, allocations: 4 kB / 0.6572 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1506, allocations: 0 / 0.6572 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.1506, allocations: 12.31 kB / 0.6572 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1506, allocations: 3.984 kB / 0.6573 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.1506, allocations: 87.27 kB / 0.6573 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1507, allocations: 3.938 kB / 0.6573 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002451/0.1509, allocations: 16 kB / 0.6574 GB, free: 11.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004288/0.1513, allocations: 0.7085 MB / 0.658 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1515, allocations: 43.97 kB / 0.6581 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1515, allocations: 0 / 0.6581 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.1515, allocations: 19.98 kB / 0.6581 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1518, allocations: 8.156 kB / 0.6581 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1531, allocations: 1.535 MB / 0.6596 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1533, allocations: 0.6807 MB / 0.6603 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.1534, allocations: 15.97 kB / 0.6603 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1535, allocations: 19.38 kB / 0.6603 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1535, allocations: 0 / 0.6603 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.1726, allocations: 1.666 MB / 0.6619 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.565, allocations: 4.688 kB / 0.6619 GB, free: 7.16 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)