Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.004681/0.004681, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001165/0.001165, allocations: 201 kB / 16.68 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8677/0.8677, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70.94 kB / 0.5808 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2094, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003961/0.2134, allocations: 1.4 MB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.2141, allocations: 203.5 kB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.2142, allocations: 0 / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.2142, allocations: 3.938 kB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.2143, allocations: 7.938 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.2146, allocations: 27.91 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.2147, allocations: 19.92 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2148, allocations: 8 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.2149, allocations: 11.92 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.2149, allocations: 11.98 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.215, allocations: 4 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2151, allocations: 23.98 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.2151, allocations: 11.92 kB / 0.6609 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2151, allocations: 4 kB / 0.6609 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2153, allocations: 44.12 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2153, allocations: 3.984 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2153, allocations: 0 / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2153, allocations: 0 / 0.6609 GB, free: 12.26 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.0005657/0.2159, allocations: 345.1 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.216, allocations: 8.031 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.216, allocations: 30.75 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2162, allocations: 4.938 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2163, allocations: 164.3 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2164, allocations: 8.312 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2164, allocations: 8.312 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2166, allocations: 50.23 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2166, allocations: 3.938 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2166, allocations: 0 / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2166, allocations: 0 / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2168, allocations: 35.95 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.2172, allocations: 252.9 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.2174, allocations: 46.47 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.2175, allocations: 20.91 kB / 0.6618 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2175, allocations: 0 / 0.6618 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.2175, allocations: 38.56 kB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.2176, allocations: 3.984 kB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.218, allocations: 77.64 kB / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.218, allocations: 63.28 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2181, allocations: 101.8 kB / 0.6621 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2181, allocations: 25.7 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.2182, allocations: 84.27 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2182, allocations: 11.89 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.2183, allocations: 13.72 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2184, allocations: 314.8 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.2185, allocations: 15.98 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.2186, allocations: 15.98 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2188, allocations: 44.88 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2188, allocations: 3.938 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.219, allocations: 65.56 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.219, allocations: 8 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2191, allocations: 0 / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2191, allocations: 3.984 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.2192, allocations: 8.031 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2192, allocations: 4 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.2193, allocations: 7.984 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.2193, allocations: 0 / 0.6627 GB, free: 10.18 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.749e-05/0.2194, allocations: 113.8 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.2194, allocations: 4 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.2197, allocations: 76.77 kB / 0.6629 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2197, allocations: 4 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2197, allocations: 3.938 kB / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2197, allocations: 0 / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2199, allocations: 161.6 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2199, allocations: 0 / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.22, allocations: 11.94 kB / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.22, allocations: 0 / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.22, allocations: 0 / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.22, allocations: 4 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.22, allocations: 7.984 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2203, allocations: 163.5 kB / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.2204, allocations: 81.06 kB / 0.6633 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2204, allocations: 4 kB / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.2205, allocations: 7.984 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2205, allocations: 4 kB / 0.6633 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2205, allocations: 8 kB / 0.6633 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.2206, allocations: 79.28 kB / 0.6634 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2206, allocations: 0 / 0.6634 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002222/0.2208, allocations: 4 kB / 0.6634 GB, free: 9.348 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 (3): * Single equations (assignments): 3 * 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.0005755/0.2214, allocations: 0.7128 MB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2216, allocations: 35.95 kB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2216, allocations: 0 / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.2217, allocations: 23.92 kB / 0.6642 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2221, allocations: 7.859 kB / 0.6642 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.2225, allocations: 158.3 kB / 0.6643 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.2228, allocations: 0.6768 MB / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2229, allocations: 7.984 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.2229, allocations: 7.438 kB / 0.665 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.2229, allocations: 0 / 0.665 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.2437, allocations: 1.35 MB / 0.6663 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.937, allocations: 6.859 kB / 0.6663 GB, free: 6.418 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)