Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_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.007388/0.007388, allocations: 97.48 kB / 15.73 MB, free: 6.066 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.00158/0.00158, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.56 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 80.92 MB / 0.6641 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002672/0.1608, allocations: 1.403 MB / 0.6655 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.1613, allocations: 211.4 kB / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.1613, allocations: 0 / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.1614, allocations: 0 / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.1615, allocations: 7.938 kB / 0.6657 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1617, allocations: 27.89 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.1618, allocations: 19.94 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.1619, allocations: 11.92 kB / 0.6658 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.1619, allocations: 11.94 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.162, allocations: 7.984 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.162, allocations: 0 / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1621, allocations: 27.98 kB / 0.6658 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1622, allocations: 7.938 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1622, allocations: 19.97 kB / 0.6658 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1623, allocations: 36.06 kB / 0.6659 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1623, allocations: 0 / 0.6659 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1624, allocations: 4 kB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1624, allocations: 0 / 0.6659 GB, free: 4.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004852/0.1629, allocations: 339.4 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1629, allocations: 13.11 kB / 0.6662 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.163, allocations: 30.75 kB / 0.6662 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1631, allocations: 4.938 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1632, allocations: 176.4 kB / 0.6664 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1632, allocations: 4.375 kB / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1632, allocations: 384 / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1634, allocations: 54.17 kB / 0.6665 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1634, allocations: 3.938 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1635, allocations: 0 / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1635, allocations: 4 kB / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1636, allocations: 35.91 kB / 0.6665 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.164, allocations: 248.9 kB / 0.6668 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1641, allocations: 42.5 kB / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.1642, allocations: 16.91 kB / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1643, allocations: 0 / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1643, allocations: 42.55 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1643, allocations: 0 / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.1647, allocations: 77.59 kB / 0.6669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1647, allocations: 55.39 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.1648, allocations: 101.9 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1648, allocations: 29.83 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1649, allocations: 80.14 kB / 0.6672 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1649, allocations: 11.89 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1649, allocations: 17.7 kB / 0.6672 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1651, allocations: 310.8 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.1652, allocations: 15.98 kB / 0.6675 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.1652, allocations: 15.98 kB / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1654, allocations: 44.81 kB / 0.6676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1654, allocations: 3.938 kB / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002015/0.1656, allocations: 73.59 kB / 0.6677 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1656, allocations: 4 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1656, allocations: 4 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1657, allocations: 4.031 kB / 0.6677 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.1658, allocations: 4 kB / 0.6677 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1658, allocations: 3.984 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1658, allocations: 7.984 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1658, allocations: 0 / 0.6677 GB, free: 2.445 MB / 0.4981 GB 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 7.598e-05/0.1659, allocations: 113.8 kB / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.166, allocations: 3.953 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1662, allocations: 84.7 kB / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1663, allocations: 0 / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1663, allocations: 0 / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1663, allocations: 7.938 kB / 0.6679 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.1665, allocations: 169.6 kB / 0.668 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1665, allocations: 0 / 0.668 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.1666, allocations: 12.22 kB / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1666, allocations: 0 / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1666, allocations: 0 / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1666, allocations: 4 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1666, allocations: 0 / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1668, allocations: 175.4 kB / 0.6682 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1669, allocations: 81.11 kB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1669, allocations: 0 / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.167, allocations: 7.984 kB / 0.6683 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1671, allocations: 8 kB / 0.6683 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1671, allocations: 0 / 0.6683 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.1671, allocations: 87.27 kB / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1671, allocations: 0 / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002195/0.1673, allocations: 7.953 kB / 0.6684 GB, free: 1.594 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.0005597/0.1679, allocations: 0.6942 MB / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.1681, allocations: 43.89 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1681, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.1683, allocations: 19.98 kB / 0.6691 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1686, allocations: 4 kB / 0.6691 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.169, allocations: 155 kB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1693, allocations: 0.6768 MB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.1694, allocations: 7.938 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1694, allocations: 11.38 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1694, allocations: 0 / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1891, allocations: 1.365 MB / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.791, allocations: 0.9375 kB / 0.6713 GB, free: 14.64 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)