Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001133/0.001133, allocations: 101 kB / 16.4 MB, free: 6.484 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.00108/0.001081, allocations: 192 kB / 17.34 MB, free: 5.727 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.72 kB / 0.5726 GB, free: 27.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1366, allocations: 78.7 MB / 0.6494 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002406/0.139, allocations: 1.387 MB / 0.6508 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.1395, allocations: 209.1 kB / 0.651 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.1395, allocations: 4 kB / 0.651 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.1396, allocations: 0 / 0.651 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.1396, allocations: 15.91 kB / 0.651 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.1398, allocations: 19.92 kB / 0.651 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.1399, allocations: 27.86 kB / 0.6511 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.076e-05/0.14, allocations: 4 kB / 0.6511 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.14, allocations: 15.91 kB / 0.6511 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.1401, allocations: 8 kB / 0.6511 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1401, allocations: 4 kB / 0.6511 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1402, allocations: 31.97 kB / 0.6511 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1402, allocations: 3.938 kB / 0.6511 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1402, allocations: 8 kB / 0.6511 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1403, allocations: 40.11 kB / 0.6512 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1403, allocations: 3.938 kB / 0.6512 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1403, allocations: 0 / 0.6512 GB, free: 2.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1404, allocations: 0 / 0.6512 GB, free: 2.844 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003749/0.1407, allocations: 343.4 kB / 0.6515 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1408, allocations: 12.03 kB / 0.6515 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.1408, allocations: 34.73 kB / 0.6515 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1409, allocations: 4.938 kB / 0.6515 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.141, allocations: 164.3 kB / 0.6517 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.141, allocations: 4.375 kB / 0.6517 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.1411, allocations: 384 / 0.6517 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1412, allocations: 50.23 kB / 0.6518 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1412, allocations: 7.875 kB / 0.6518 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1412, allocations: 0 / 0.6518 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1413, allocations: 0 / 0.6518 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1414, allocations: 43.89 kB / 0.6518 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.1417, allocations: 240.9 kB / 0.652 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1419, allocations: 42.53 kB / 0.6521 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.142, allocations: 24.91 kB / 0.6521 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.142, allocations: 4 kB / 0.6521 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.142, allocations: 30.56 kB / 0.6521 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.142, allocations: 0 / 0.6521 GB, free: 1.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003334/0.1423, allocations: 85.58 kB / 0.6522 GB, free: 1.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.1424, allocations: 51.53 kB / 0.6523 GB, free: 1.531 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.1424, allocations: 105.8 kB / 0.6524 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1425, allocations: 25.7 kB / 0.6524 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.1425, allocations: 80.14 kB / 0.6525 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1425, allocations: 11.89 kB / 0.6525 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1426, allocations: 13.72 kB / 0.6525 GB, free: 1.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.1427, allocations: 318.8 kB / 0.6528 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.1427, allocations: 11.98 kB / 0.6528 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.1428, allocations: 19.98 kB / 0.6528 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.143, allocations: 40.77 kB / 0.6529 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.143, allocations: 7.875 kB / 0.6529 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.1432, allocations: 69.61 kB / 0.6529 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1432, allocations: 8.094 kB / 0.6529 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1432, allocations: 0 / 0.6529 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1432, allocations: 0 / 0.6529 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.1433, allocations: 11.98 kB / 0.653 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1433, allocations: 0 / 0.653 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.1434, allocations: 7.984 kB / 0.653 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1434, allocations: 0 / 0.653 GB, free: 0.7695 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.676e-05/0.1434, allocations: 113.8 kB / 0.6531 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1435, allocations: 4 kB / 0.6531 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1437, allocations: 84.7 kB / 0.6532 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1437, allocations: 0 / 0.6532 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1437, allocations: 0 / 0.6532 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1437, allocations: 240 / 0.6532 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1439, allocations: 161.5 kB / 0.6533 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1439, allocations: 4 kB / 0.6533 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.144, allocations: 15.97 kB / 0.6533 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.144, allocations: 4 kB / 0.6533 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.144, allocations: 4 kB / 0.6533 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.144, allocations: 0 / 0.6533 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.144, allocations: 0 / 0.6533 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1443, allocations: 175.3 kB / 0.6535 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.1443, allocations: 77.11 kB / 0.6536 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1443, allocations: 4 kB / 0.6536 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.1444, allocations: 12 kB / 0.6536 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1444, allocations: 3.984 kB / 0.6536 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1444, allocations: 0 / 0.6536 GB, free: 24 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.1445, allocations: 79.28 kB / 0.6537 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 0.6537 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002158/0.1447, allocations: 4 kB / 0.6537 GB, free: 15.94 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 (3): * Single equations (assignments): 3 * 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.0004487/0.1452, allocations: 0.7085 MB / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1454, allocations: 39.89 kB / 0.6544 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1454, allocations: 4 kB / 0.6544 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.1455, allocations: 20.05 kB / 0.6544 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1457, allocations: 7.984 kB / 0.6544 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.1461, allocations: 156.2 kB / 0.6546 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.1463, allocations: 0.6729 MB / 0.6552 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.1464, allocations: 7.922 kB / 0.6552 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1464, allocations: 15.38 kB / 0.6553 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of SimCode: time 5.2e-07/0.1464, allocations: 8 kB / 0.6553 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1689, allocations: 1.353 MB / 0.6566 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.632, allocations: 4.734 kB / 0.6566 GB, free: 12.97 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)