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.007389/0.007389, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001259/0.001259, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8071/0.8071, allocations: 132.2 MB / 422.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 66.98 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1958, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003367/0.1993, allocations: 1.406 MB / 0.6605 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2001, allocations: 299 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.2002, allocations: 0 / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.2003, allocations: 0 / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.2003, allocations: 7.922 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2008, allocations: 51.75 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.2009, allocations: 23.92 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.201, allocations: 4 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.2011, allocations: 15.97 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.2012, allocations: 15.94 kB / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2012, allocations: 0 / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.2015, allocations: 91.84 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2015, allocations: 7.984 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2015, allocations: 7.938 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2018, allocations: 71.95 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2018, allocations: 4 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2018, allocations: 0 / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2018, allocations: 0 / 0.6611 GB, free: 12.01 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.0006341/0.2025, allocations: 347.3 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2025, allocations: 12.03 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.2026, allocations: 38.73 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.2026, allocations: 0.9375 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2028, allocations: 164.3 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2029, allocations: 4.375 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.2029, allocations: 384 / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.2031, allocations: 54.17 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2031, allocations: 3.938 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2031, allocations: 4 kB / 0.6617 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2031, allocations: 0 / 0.6617 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2033, allocations: 35.95 kB / 0.6618 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.2036, allocations: 241 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2038, allocations: 42.44 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.2038, allocations: 32.83 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2039, allocations: 0 / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2039, allocations: 34.56 kB / 0.6621 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2039, allocations: 0 / 0.6621 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003491/0.2043, allocations: 81.64 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2043, allocations: 59.47 kB / 0.6622 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.2044, allocations: 97.84 kB / 0.6623 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2044, allocations: 29.7 kB / 0.6623 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.2045, allocations: 84.12 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2045, allocations: 11.89 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.2046, allocations: 9.719 kB / 0.6624 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2047, allocations: 314.8 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.2048, allocations: 23.92 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.2048, allocations: 19.97 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.205, allocations: 36.83 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.205, allocations: 3.938 kB / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002492/0.2053, allocations: 65.72 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2053, allocations: 9.406 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2053, allocations: 0 / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2053, allocations: 0 / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.2054, allocations: 11.98 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2054, allocations: 0 / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.2055, allocations: 7.953 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2055, allocations: 3.938 kB / 0.6629 GB, free: 9.93 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.982e-05/0.2056, allocations: 117.8 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.2056, allocations: 7.984 kB / 0.663 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.2059, allocations: 64.78 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2059, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2059, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2059, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2061, allocations: 157.6 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2061, allocations: 0 / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.2061, allocations: 20.02 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2061, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2062, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2062, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2062, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2064, allocations: 167.4 kB / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.2065, allocations: 81.11 kB / 0.6635 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2065, allocations: 4.031 kB / 0.6635 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.2066, allocations: 7.984 kB / 0.6635 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2067, allocations: 11.88 kB / 0.6635 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2067, allocations: 0 / 0.6635 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.2067, allocations: 83.27 kB / 0.6636 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2067, allocations: 0 / 0.6636 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002417/0.207, allocations: 15.89 kB / 0.6636 GB, free: 9.102 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.000641/0.2076, allocations: 0.7123 MB / 0.6643 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2078, allocations: 31.97 kB / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2079, allocations: 8.094 kB / 0.6644 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.208, allocations: 15.98 kB / 0.6644 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2083, allocations: 7.984 kB / 0.6644 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.2087, allocations: 151.9 kB / 0.6645 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.209, allocations: 0.6768 MB / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.2091, allocations: 0 / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.2091, allocations: 19.5 kB / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2091, allocations: 0 / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2303, allocations: 1.461 MB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.755, allocations: 11.17 kB / 0.6666 GB, free: 6.059 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)