Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.008303/0.008303, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002202/0.002202, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8625/0.8625, allocations: 135.5 MB / 426.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 69.05 kB / 0.5857 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 81.02 MB / 0.6648 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002401/0.1636, allocations: 1.403 MB / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006076/0.1642, allocations: 291.1 kB / 0.6665 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.1642, allocations: 0 / 0.6665 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.1643, allocations: 3.938 kB / 0.6665 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.1643, allocations: 7.938 kB / 0.6665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1646, allocations: 63.72 kB / 0.6666 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.1647, allocations: 23.86 kB / 0.6666 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.1648, allocations: 8 kB / 0.6666 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.1648, allocations: 4 kB / 0.6666 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1649, allocations: 15.92 kB / 0.6666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1649, allocations: 0 / 0.6666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.1651, allocations: 87.84 kB / 0.6667 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1651, allocations: 8 kB / 0.6667 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1652, allocations: 15.91 kB / 0.6667 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1654, allocations: 72.03 kB / 0.6668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1654, allocations: 0 / 0.6668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1654, allocations: 3.938 kB / 0.6668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1654, allocations: 0 / 0.6668 GB, free: 3.742 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.0004854/0.1659, allocations: 347.3 kB / 0.6671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1659, allocations: 9.109 kB / 0.6671 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.166, allocations: 34.75 kB / 0.6672 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.166, allocations: 4.938 kB / 0.6672 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1661, allocations: 164.4 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1661, allocations: 4.375 kB / 0.6673 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.1662, allocations: 384 / 0.6673 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1663, allocations: 50.23 kB / 0.6674 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1664, allocations: 7.875 kB / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1664, allocations: 0 / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1664, allocations: 0 / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.1666, allocations: 39.91 kB / 0.6674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1669, allocations: 252.9 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1671, allocations: 38.5 kB / 0.6677 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.1672, allocations: 20.91 kB / 0.6677 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1672, allocations: 0 / 0.6677 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1672, allocations: 42.55 kB / 0.6678 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1672, allocations: 0 / 0.6678 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.1676, allocations: 77.59 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1676, allocations: 59.39 kB / 0.6679 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.1677, allocations: 97.86 kB / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1678, allocations: 29.83 kB / 0.668 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.1678, allocations: 80.14 kB / 0.6681 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1678, allocations: 7.891 kB / 0.6681 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.1679, allocations: 21.7 kB / 0.6681 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.168, allocations: 310.8 kB / 0.6684 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.1681, allocations: 19.92 kB / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.1682, allocations: 15.98 kB / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1684, allocations: 48.81 kB / 0.6685 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1684, allocations: 3.938 kB / 0.6685 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.1686, allocations: 57.67 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1686, allocations: 8 kB / 0.6686 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1686, allocations: 3.984 kB / 0.6686 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1687, allocations: 4.031 kB / 0.6686 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.1687, allocations: 4 kB / 0.6686 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1688, allocations: 4 kB / 0.6686 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1688, allocations: 4.172 kB / 0.6686 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1688, allocations: 4 kB / 0.6686 GB, free: 1.668 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 0.0001053/0.1689, allocations: 113.8 kB / 0.6687 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.169, allocations: 7.938 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.1692, allocations: 80.72 kB / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1692, allocations: 3.984 kB / 0.6688 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1692, allocations: 4 kB / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1693, allocations: 0 / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1694, allocations: 157.6 kB / 0.6689 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1694, allocations: 0 / 0.6689 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.1695, allocations: 11.98 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1695, allocations: 0 / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1695, allocations: 0 / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1695, allocations: 4.031 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1695, allocations: 3.938 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1698, allocations: 163.4 kB / 0.6691 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1699, allocations: 81.11 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1699, allocations: 0 / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.17, allocations: 11.98 kB / 0.6692 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.17, allocations: 4.031 kB / 0.6692 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.17, allocations: 0 / 0.6692 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.1701, allocations: 83.27 kB / 0.6693 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1701, allocations: 0 / 0.6693 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.1703, allocations: 11.94 kB / 0.6693 GB, free: 0.8359 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 (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 Backend phase and start with SimCode phase: time 0.0006472/0.171, allocations: 0.7046 MB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1712, allocations: 47.83 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1712, allocations: 0 / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.1713, allocations: 15.98 kB / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1716, allocations: 8.156 kB / 0.6701 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.172, allocations: 148.4 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1724, allocations: 0.6729 MB / 0.6709 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.1724, allocations: 3.984 kB / 0.6709 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1725, allocations: 11.44 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1725, allocations: 0 / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1943, allocations: 1.483 MB / 0.6723 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.159, allocations: 12.14 kB / 0.6723 GB, free: 13.74 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce_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_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)