Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.005399/0.005399, allocations: 99.02 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.001271/0.001271, allocations: 194.3 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8276/0.8276, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3769, allocations: 80.21 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002025/0.3789, allocations: 1.283 MB / 0.6604 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.564, allocations: 147.6 MB / 0.8046 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.5641, allocations: 0 / 0.8046 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.5642, allocations: 7.938 kB / 0.8046 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.5642, allocations: 3.938 kB / 0.8046 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.5647, allocations: 115.5 kB / 0.8047 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.5648, allocations: 27.86 kB / 0.8048 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.5648, allocations: 0 / 0.8048 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.5648, allocations: 11.92 kB / 0.8048 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.5649, allocations: 8 kB / 0.8048 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.5649, allocations: 0 / 0.8048 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.5653, allocations: 171.7 kB / 0.805 GB, free: 372 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.5653, allocations: 0 / 0.805 GB, free: 372 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.5654, allocations: 19.86 kB / 0.805 GB, free: 352 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.5656, allocations: 108.5 kB / 0.8051 GB, free: 252 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5656, allocations: 0 / 0.8051 GB, free: 252 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5656, allocations: 8 kB / 0.8051 GB, free: 244 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.5656, allocations: 0 / 0.8051 GB, free: 244 kB / 0.6231 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.0003939/0.566, allocations: 355.1 kB / 0.8054 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5661, allocations: 12.03 kB / 0.8054 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.5661, allocations: 30.75 kB / 0.8055 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.5667, allocations: 32.89 kB / 0.8055 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.5668, allocations: 168.1 kB / 0.8057 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5668, allocations: 4 kB / 0.8057 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.5668, allocations: 0 / 0.8057 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.567, allocations: 49.66 kB / 0.8057 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.567, allocations: 0 / 0.8057 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.567, allocations: 0 / 0.8057 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.567, allocations: 0 / 0.8057 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5672, allocations: 35.84 kB / 0.8057 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.5676, allocations: 252.8 kB / 0.806 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.5676, allocations: 26.58 kB / 0.806 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.5676, allocations: 8.922 kB / 0.806 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.5677, allocations: 0 / 0.806 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5677, allocations: 38.55 kB / 0.8061 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 4.288e-06/0.5677, allocations: 0 / 0.8061 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.5679, allocations: 41.64 kB / 0.8061 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5679, allocations: 55.41 kB / 0.8061 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.5681, allocations: 109.8 kB / 0.8063 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5681, allocations: 25.7 kB / 0.8063 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.5682, allocations: 88.12 kB / 0.8064 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.5682, allocations: 12.08 kB / 0.8064 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.5682, allocations: 17.7 kB / 0.8064 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5684, allocations: 314.8 kB / 0.8067 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.5684, allocations: 7.984 kB / 0.8067 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.5685, allocations: 12.17 kB / 0.8067 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.5686, allocations: 24.88 kB / 0.8067 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5686, allocations: 11.98 kB / 0.8067 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.5688, allocations: 57.62 kB / 0.8068 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5688, allocations: 4 kB / 0.8068 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5689, allocations: 0 / 0.8068 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5689, allocations: 4 kB / 0.8068 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.569, allocations: 7.984 kB / 0.8068 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.569, allocations: 0 / 0.8068 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.5691, allocations: 19.92 kB / 0.8068 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5692, allocations: 3.938 kB / 0.8068 GB, free: 14.21 MB / 0.6387 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 (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 prepare postOptimizeDAE: time 7.871e-05/0.5692, allocations: 105.8 kB / 0.8069 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.5693, allocations: 8 kB / 0.8069 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.5693, allocations: 3.125 kB / 0.8069 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5693, allocations: 0 / 0.8069 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5693, allocations: 3.938 kB / 0.807 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5693, allocations: 3.938 kB / 0.807 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.5695, allocations: 161.7 kB / 0.8071 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5695, allocations: 0 / 0.8071 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.5696, allocations: 7.984 kB / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5696, allocations: 3.938 kB / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.5696, allocations: 0 / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5696, allocations: 0 / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5696, allocations: 0 / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.5697, allocations: 135.5 kB / 0.8073 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.5698, allocations: 89.08 kB / 0.8073 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5698, allocations: 0 / 0.8073 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.5699, allocations: 4 kB / 0.8073 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.5699, allocations: 3.938 kB / 0.8073 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.5699, allocations: 0 / 0.8073 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000104/0.57, allocations: 91.27 kB / 0.8074 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.073e-06/0.57, allocations: 0 / 0.8074 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002421/0.5703, allocations: 19.88 kB / 0.8075 GB, free: 13.48 MB / 0.6387 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.0004986/0.5708, allocations: 0.6812 MB / 0.8081 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5709, allocations: 15.98 kB / 0.8081 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5709, allocations: 0 / 0.8081 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.571, allocations: 15.97 kB / 0.8081 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.5713, allocations: 13.95 kB / 0.8082 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.5717, allocations: 148.8 kB / 0.8083 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.572, allocations: 0.6768 MB / 0.809 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.5721, allocations: 12.05 kB / 0.809 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.5721, allocations: 11.42 kB / 0.809 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.5721, allocations: 0 / 0.809 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.596, allocations: 1.591 MB / 0.8105 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.531, allocations: 8.656 kB / 0.8105 GB, free: 10.37 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)