Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_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.008029/0.00803, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001959/0.001959, 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.585/1.585, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8973/0.8973, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.95 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1717, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002694/0.1744, allocations: 1.411 MB / 0.6605 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006115/0.1751, allocations: 287.1 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1751, allocations: 0 / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.1751, allocations: 3.938 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.1752, allocations: 7.938 kB / 0.6608 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1756, allocations: 59.73 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.1757, allocations: 27.92 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1758, allocations: 3.984 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.1758, allocations: 8 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.1759, allocations: 11.92 kB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1759, allocations: 4 kB / 0.6609 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.1761, allocations: 91.84 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.1761, allocations: 4 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1762, allocations: 19.88 kB / 0.6611 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1764, allocations: 68 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1764, allocations: 0 / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1764, allocations: 0 / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1764, allocations: 0 / 0.6611 GB, free: 8.773 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.0005282/0.1769, allocations: 351.3 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.177, allocations: 8.031 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.177, allocations: 30.75 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.177, allocations: 0.9375 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1772, allocations: 172.3 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1772, allocations: 384 / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1772, allocations: 4.375 kB / 0.6617 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1774, allocations: 50.17 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1774, allocations: 3.938 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1775, allocations: 4 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1775, allocations: 0 / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1776, allocations: 35.95 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.178, allocations: 244.9 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1782, allocations: 42.53 kB / 0.662 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.1783, allocations: 24.84 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1783, allocations: 7.922 kB / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1784, allocations: 38.56 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1784, allocations: 0 / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003715/0.1787, allocations: 77.64 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1788, allocations: 51.41 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1789, allocations: 101.8 kB / 0.6623 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1789, allocations: 25.7 kB / 0.6623 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.179, allocations: 88.27 kB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.179, allocations: 15.88 kB / 0.6624 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.179, allocations: 17.66 kB / 0.6625 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1792, allocations: 314.8 kB / 0.6628 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.1793, allocations: 19.97 kB / 0.6628 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.1793, allocations: 11.98 kB / 0.6628 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1795, allocations: 40.89 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1795, allocations: 3.938 kB / 0.6628 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.1797, allocations: 69.66 kB / 0.6629 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1797, allocations: 4 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1798, allocations: 0 / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1798, allocations: 0 / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.1799, allocations: 16.02 kB / 0.6629 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1799, allocations: 3.938 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1799, allocations: 11.94 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1799, allocations: 0 / 0.6629 GB, free: 6.684 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 8.961e-05/0.18, allocations: 113.8 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1801, allocations: 0 / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1803, allocations: 72.78 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1803, allocations: 0 / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1803, allocations: 4 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1803, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1805, allocations: 161.6 kB / 0.6633 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1805, allocations: 0 / 0.6633 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.1806, allocations: 8 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1806, allocations: 4 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1806, allocations: 3.984 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1806, allocations: 0 / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1806, allocations: 3.938 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1809, allocations: 167.5 kB / 0.6634 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.181, allocations: 77.11 kB / 0.6635 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.181, allocations: 0 / 0.6635 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1811, allocations: 4 kB / 0.6635 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1811, allocations: 3.984 kB / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1811, allocations: 8.031 kB / 0.6635 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.1812, allocations: 83.22 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1812, allocations: 4 kB / 0.6636 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/0.1814, allocations: 15.89 kB / 0.6636 GB, free: 5.859 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.0006585/0.1821, allocations: 0.7123 MB / 0.6643 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1823, allocations: 35.95 kB / 0.6644 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1823, allocations: 0 / 0.6644 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1824, allocations: 15.98 kB / 0.6644 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1828, allocations: 8.156 kB / 0.6644 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1833, allocations: 148.1 kB / 0.6645 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1836, allocations: 0.6768 MB / 0.6652 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.1837, allocations: 4 kB / 0.6652 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.1837, allocations: 7.438 kB / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1837, allocations: 0 / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2069, allocations: 1.476 MB / 0.6666 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.229, allocations: 5.906 kB / 0.6666 GB, free: 2.812 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)