Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.006196/0.006196, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001682/0.001682, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.64 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.211, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003989/0.215, allocations: 1.395 MB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2165, allocations: 0.6004 MB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.2166, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.2166, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.2167, allocations: 11.94 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.2173, allocations: 95.56 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.2173, allocations: 27.91 kB / 0.6613 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2175, allocations: 8 kB / 0.6613 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.2175, allocations: 15.92 kB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.2176, allocations: 11.94 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2176, allocations: 4 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.218, allocations: 143.7 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2181, allocations: 11.98 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.2181, allocations: 7.938 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.2184, allocations: 96.05 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2184, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2184, allocations: 3.938 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2184, allocations: 4 kB / 0.6616 GB, free: 11.61 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.0005754/0.219, allocations: 359.2 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2191, allocations: 12.03 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.2191, allocations: 34.75 kB / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.2197, allocations: 28.91 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2198, allocations: 172.3 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.2199, allocations: 384 / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2199, allocations: 8.375 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2202, allocations: 66.2 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2202, allocations: 7.938 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2202, allocations: 0 / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2203, allocations: 0 / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2206, allocations: 51.94 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.2212, allocations: 276.8 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2215, allocations: 62.41 kB / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.2218, allocations: 36.89 kB / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.2218, allocations: 0 / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2218, allocations: 38.55 kB / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.2218, allocations: 0 / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007087/0.2226, allocations: 113.5 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2226, allocations: 55.53 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.2227, allocations: 101.8 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2227, allocations: 25.7 kB / 0.6629 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.2228, allocations: 84.12 kB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2228, allocations: 7.953 kB / 0.663 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.2229, allocations: 17.66 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2231, allocations: 318.8 kB / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2233, allocations: 31.91 kB / 0.6634 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2234, allocations: 27.97 kB / 0.6634 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2238, allocations: 52.88 kB / 0.6635 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2238, allocations: 7.938 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004397/0.2243, allocations: 97.52 kB / 0.6636 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2243, allocations: 6.188 kB / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2243, allocations: 0 / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2243, allocations: 0 / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2245, allocations: 16.02 kB / 0.6636 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2245, allocations: 0 / 0.6636 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2247, allocations: 11.98 kB / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2247, allocations: 0 / 0.6636 GB, free: 9.289 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.0001035/0.2248, allocations: 109.8 kB / 0.6637 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.2249, allocations: 7.984 kB / 0.6637 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.2249, allocations: 11.12 kB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2249, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2249, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.225, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2252, allocations: 165.6 kB / 0.6639 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2252, allocations: 0 / 0.6639 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2254, allocations: 11.98 kB / 0.6639 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2254, allocations: 0 / 0.6639 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2254, allocations: 7.984 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2254, allocations: 0 / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2254, allocations: 4 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.2259, allocations: 183.4 kB / 0.6641 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.226, allocations: 85.05 kB / 0.6641 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.226, allocations: 4 kB / 0.6642 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2262, allocations: 20.02 kB / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.2263, allocations: 0 / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.2263, allocations: 0 / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.2264, allocations: 79.28 kB / 0.6642 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2264, allocations: 0 / 0.6642 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003983/0.2268, allocations: 19.92 kB / 0.6643 GB, free: 8.496 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.000886/0.2277, allocations: 0.7318 MB / 0.665 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2281, allocations: 59.97 kB / 0.665 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2281, allocations: 4 kB / 0.665 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.2283, allocations: 31.95 kB / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2288, allocations: 3.938 kB / 0.6651 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.2296, allocations: 164.2 kB / 0.6652 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2299, allocations: 0.6767 MB / 0.6659 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.683e-05/0.23, allocations: 11.98 kB / 0.6659 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.23, allocations: 15.42 kB / 0.6659 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2301, allocations: 0 / 0.6659 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.2523, allocations: 1.652 MB / 0.6675 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.038, allocations: 6.906 kB / 0.6675 GB, free: 5.191 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure_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_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)