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.006966/0.006966, allocations: 106 kB / 15.73 MB, free: 6 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.001471/0.001471, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 58.5 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1771, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002491/0.1796, allocations: 1.401 MB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005316/0.1802, allocations: 291.1 kB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1802, allocations: 0 / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.1802, allocations: 3.938 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.1803, allocations: 15.86 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1806, allocations: 55.73 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.1807, allocations: 27.92 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.1808, allocations: 8 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.1808, allocations: 11.98 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.1809, allocations: 3.938 kB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1809, allocations: 4 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1811, allocations: 87.84 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1811, allocations: 4 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.1811, allocations: 19.91 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1813, allocations: 58.69 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1813, allocations: 3.938 kB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1813, allocations: 0 / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1813, allocations: 4 kB / 0.6611 GB, free: 8.797 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.00046/0.1818, allocations: 352.2 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1818, allocations: 8.031 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1818, allocations: 34.73 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.1819, allocations: 4.938 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.182, allocations: 160.4 kB / 0.6616 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.182, allocations: 4.375 kB / 0.6616 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.182, allocations: 384 / 0.6616 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1822, allocations: 54.23 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1822, allocations: 7.922 kB / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1822, allocations: 0 / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1822, allocations: 4 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1824, allocations: 35.89 kB / 0.6617 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.1827, allocations: 245 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1828, allocations: 42.5 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.1829, allocations: 24.89 kB / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1829, allocations: 0 / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.183, allocations: 34.56 kB / 0.6621 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.183, allocations: 0 / 0.6621 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003358/0.1833, allocations: 89.48 kB / 0.6622 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1834, allocations: 51.41 kB / 0.6622 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.1834, allocations: 101.8 kB / 0.6623 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1834, allocations: 29.7 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.1835, allocations: 80.14 kB / 0.6624 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1835, allocations: 11.89 kB / 0.6624 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1836, allocations: 13.72 kB / 0.6624 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1837, allocations: 315 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-05/0.1837, allocations: 15.98 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.1838, allocations: 19.97 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.184, allocations: 40.7 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.184, allocations: 3.938 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.1842, allocations: 73.72 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1842, allocations: 4 kB / 0.6629 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1842, allocations: 0 / 0.6629 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1842, allocations: 0 / 0.6629 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.1843, allocations: 12 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1843, allocations: 3.984 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1843, allocations: 4 kB / 0.6629 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1844, allocations: 4.031 kB / 0.6629 GB, free: 6.715 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.932e-05/0.1844, allocations: 113.8 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1845, allocations: 0 / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1847, allocations: 80.64 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1847, allocations: 4 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1847, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1847, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1849, allocations: 161.6 kB / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1849, allocations: 0 / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.185, allocations: 7.984 kB / 0.6633 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.185, allocations: 4 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.185, allocations: 0 / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.185, allocations: 0 / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.185, allocations: 0 / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1852, allocations: 175.3 kB / 0.6634 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.1852, allocations: 77.11 kB / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1853, allocations: 0 / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1853, allocations: 7.984 kB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1854, allocations: 4 kB / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1854, allocations: 3.938 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.1854, allocations: 87.27 kB / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1854, allocations: 0 / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002325/0.1857, allocations: 16.03 kB / 0.6636 GB, free: 5.883 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.0005369/0.1862, allocations: 0.701 MB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1864, allocations: 39.94 kB / 0.6643 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1864, allocations: 0 / 0.6643 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1865, allocations: 19.98 kB / 0.6644 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1868, allocations: 8.062 kB / 0.6644 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1873, allocations: 152.2 kB / 0.6645 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1876, allocations: 0.6846 MB / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.1876, allocations: 0 / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1877, allocations: 15.44 kB / 0.6652 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1877, allocations: 0 / 0.6652 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.207, allocations: 1.483 MB / 0.6666 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.705, allocations: 12.72 kB / 0.6667 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)