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.001235/0.001235, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.22 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1747, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002837/0.1775, allocations: 1.401 MB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000612/0.1782, allocations: 280.7 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.1782, allocations: 0 / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1783, allocations: 7.984 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.1783, allocations: 3.938 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1787, allocations: 55.75 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.1787, allocations: 27.92 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.1788, allocations: 0 / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.1789, allocations: 15.92 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1789, allocations: 15.92 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1789, allocations: 4 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.1791, allocations: 91.78 kB / 0.5863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1792, allocations: 4 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1792, allocations: 15.92 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1793, allocations: 68.08 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1794, allocations: 0 / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1794, allocations: 0 / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1794, allocations: 0 / 0.5864 GB, free: 2.453 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.0004435/0.1798, allocations: 343.4 kB / 0.5867 GB, free: 2.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1799, allocations: 12.03 kB / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.1799, allocations: 38.75 kB / 0.5868 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.1799, allocations: 4.875 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1801, allocations: 172.3 kB / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1801, allocations: 384 / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1801, allocations: 384 / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1803, allocations: 50.23 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1803, allocations: 3.938 kB / 0.587 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1803, allocations: 0 / 0.587 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1803, allocations: 0 / 0.587 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1805, allocations: 39.95 kB / 0.587 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.1808, allocations: 248.9 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.181, allocations: 42.44 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.1811, allocations: 24.91 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1811, allocations: 7.984 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1811, allocations: 30.56 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1811, allocations: 0 / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.1815, allocations: 81.64 kB / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1815, allocations: 55.34 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.1816, allocations: 97.98 kB / 0.5876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1817, allocations: 29.7 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.1817, allocations: 84.14 kB / 0.5877 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1817, allocations: 3.906 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.1818, allocations: 13.7 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1819, allocations: 318.8 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.182, allocations: 11.98 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.1821, allocations: 19.98 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1823, allocations: 40.81 kB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1823, allocations: 3.938 kB / 0.5881 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.1825, allocations: 69.59 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1825, allocations: 6.344 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1825, allocations: 4.094 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1825, allocations: 0 / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.1826, allocations: 8 kB / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1826, allocations: 0 / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1827, allocations: 7.984 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1827, allocations: 0 / 0.5882 GB, free: 392 kB / 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 0.0001034/0.1828, allocations: 117.7 kB / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1829, allocations: 11.84 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1831, allocations: 72.77 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1831, allocations: 0 / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1831, allocations: 0 / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1831, allocations: 4 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1833, allocations: 161.5 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1833, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.1834, allocations: 11.98 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1834, allocations: 0 / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1834, allocations: 8.031 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1834, allocations: 4 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1834, allocations: 0 / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1837, allocations: 159.5 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.1837, allocations: 81.05 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1837, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1838, allocations: 12.02 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1839, allocations: 4 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1839, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.1839, allocations: 83.27 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1839, allocations: 0 / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000238/0.1841, allocations: 12 kB / 0.5889 GB, free: 15.55 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.0005619/0.1847, allocations: 0.7162 MB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1849, allocations: 31.97 kB / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1849, allocations: 0 / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.185, allocations: 28.02 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1853, allocations: 0 / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1858, allocations: 160.1 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1861, allocations: 0.6768 MB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.1861, allocations: 0 / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1861, allocations: 11.44 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1861, allocations: 4.062 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.2029, allocations: 1.449 MB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.527, allocations: 6.562 kB / 0.5919 GB, free: 12.49 MB / 0.4981 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)