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.001733/0.001733, allocations: 104.2 kB / 16.4 MB, free: 6.508 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.001892/0.001893, allocations: 192 kB / 17.34 MB, free: 5.738 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.499/1.499, 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: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 66.78 kB / 0.5679 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1374, allocations: 77.92 MB / 0.644 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002359/0.1398, allocations: 1.396 MB / 0.6454 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.1402, allocations: 211.4 kB / 0.6456 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.1403, allocations: 0 / 0.6456 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.1403, allocations: 3.938 kB / 0.6456 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1404, allocations: 0 / 0.6456 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1406, allocations: 23.92 kB / 0.6456 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.1406, allocations: 27.84 kB / 0.6457 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.1407, allocations: 11.98 kB / 0.6457 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1408, allocations: 15.88 kB / 0.6457 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.1408, allocations: 11.98 kB / 0.6457 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1408, allocations: 0 / 0.6457 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.1409, allocations: 23.98 kB / 0.6457 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1409, allocations: 3.938 kB / 0.6457 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.141, allocations: 8 kB / 0.6457 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1411, allocations: 48.09 kB / 0.6458 GB, free: 7.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1411, allocations: 0 / 0.6458 GB, free: 7.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1411, allocations: 0 / 0.6458 GB, free: 7.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1411, allocations: 0 / 0.6458 GB, free: 7.758 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.0004177/0.1416, allocations: 349.5 kB / 0.6461 GB, free: 7.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1416, allocations: 8.625 kB / 0.6461 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1416, allocations: 30.75 kB / 0.6461 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1417, allocations: 4.938 kB / 0.6462 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1419, allocations: 164.3 kB / 0.6463 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1419, allocations: 384 / 0.6463 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1419, allocations: 8.359 kB / 0.6463 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1421, allocations: 50.17 kB / 0.6464 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1421, allocations: 11.94 kB / 0.6464 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1421, allocations: 0 / 0.6464 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1421, allocations: 3.938 kB / 0.6464 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1423, allocations: 27.97 kB / 0.6464 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1426, allocations: 249 kB / 0.6466 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1428, allocations: 46.44 kB / 0.6467 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.1429, allocations: 20.91 kB / 0.6467 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1429, allocations: 0 / 0.6467 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1429, allocations: 34.56 kB / 0.6467 GB, free: 6.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1429, allocations: 0 / 0.6467 GB, free: 6.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.1433, allocations: 81.73 kB / 0.6468 GB, free: 6.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1433, allocations: 51.41 kB / 0.6469 GB, free: 6.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.1434, allocations: 109.8 kB / 0.647 GB, free: 6.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1434, allocations: 25.7 kB / 0.647 GB, free: 6.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.1435, allocations: 80.14 kB / 0.6471 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1435, allocations: 11.83 kB / 0.6471 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1436, allocations: 21.7 kB / 0.6471 GB, free: 6.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1437, allocations: 310.8 kB / 0.6474 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.1438, allocations: 16.02 kB / 0.6474 GB, free: 5.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.1439, allocations: 19.98 kB / 0.6474 GB, free: 5.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.144, allocations: 40.81 kB / 0.6475 GB, free: 5.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.144, allocations: 3.938 kB / 0.6475 GB, free: 5.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001959/0.1442, allocations: 65.69 kB / 0.6475 GB, free: 5.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1443, allocations: 15.92 kB / 0.6476 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1443, allocations: 0 / 0.6476 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1443, allocations: 0 / 0.6476 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.1444, allocations: 11.94 kB / 0.6476 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1444, allocations: 4 kB / 0.6476 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.1444, allocations: 3.984 kB / 0.6476 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1445, allocations: 4 kB / 0.6476 GB, free: 5.676 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 8.309e-05/0.1445, allocations: 117.8 kB / 0.6477 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1446, allocations: 0 / 0.6477 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1448, allocations: 76.77 kB / 0.6478 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1448, allocations: 0 / 0.6478 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1449, allocations: 4 kB / 0.6478 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1449, allocations: 0 / 0.6478 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.145, allocations: 165.6 kB / 0.6479 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.145, allocations: 4 kB / 0.6479 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.1451, allocations: 11.94 kB / 0.6479 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1451, allocations: 0 / 0.6479 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1451, allocations: 3.984 kB / 0.6479 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1452, allocations: 3.938 kB / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1452, allocations: 0 / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1454, allocations: 175.4 kB / 0.6481 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1455, allocations: 77.11 kB / 0.6482 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1455, allocations: 0 / 0.6482 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.1456, allocations: 11.98 kB / 0.6482 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1456, allocations: 4 kB / 0.6482 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1456, allocations: 0 / 0.6482 GB, free: 4.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.1457, allocations: 83.27 kB / 0.6483 GB, free: 4.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1457, allocations: 0 / 0.6483 GB, free: 4.852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1459, allocations: 4 kB / 0.6483 GB, free: 4.848 MB / 494.1 MB 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.0005196/0.1464, allocations: 0.7046 MB / 0.649 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1467, allocations: 35.95 kB / 0.649 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1467, allocations: 4.062 kB / 0.649 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.1468, allocations: 19.98 kB / 0.649 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1471, allocations: 7.938 kB / 0.649 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.1475, allocations: 156.7 kB / 0.6492 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1477, allocations: 0.6768 MB / 0.6499 GB, free: 3.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.1477, allocations: 8 kB / 0.6499 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1478, allocations: 7.438 kB / 0.6499 GB, free: 3.137 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1478, allocations: 3.938 kB / 0.6499 GB, free: 3.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.1648, allocations: 1.367 MB / 0.6512 GB, free: 1.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.812, allocations: 4.766 kB / 0.6512 GB, free: 1.879 MB / 494.1 MB (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)