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.001449/0.00145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001825/0.001825, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6804/0.6804, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.5 kB / 0.5014 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4167, allocations: 80.21 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002197/0.419, allocations: 1.348 MB / 0.581 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1418/0.5608, allocations: 145.5 MB / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.5609, allocations: 0 / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.5609, allocations: 0 / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.561, allocations: 7.875 kB / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.5614, allocations: 107.6 kB / 0.7232 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.5615, allocations: 19.88 kB / 0.7232 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.5616, allocations: 0 / 0.7232 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.5616, allocations: 4 kB / 0.7232 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.5616, allocations: 15.91 kB / 0.7232 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.5617, allocations: 0 / 0.7232 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.562, allocations: 183.6 kB / 0.7234 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.562, allocations: 0 / 0.7234 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.5621, allocations: 7.938 kB / 0.7234 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.5622, allocations: 118.1 kB / 0.7235 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5623, allocations: 0 / 0.7235 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5623, allocations: 0 / 0.7235 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5623, allocations: 0 / 0.7235 GB, free: 13.89 MB / 0.5606 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.0002826/0.5626, allocations: 347.4 kB / 0.7238 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5626, allocations: 16.02 kB / 0.7239 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.5627, allocations: 30.75 kB / 0.7239 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.5632, allocations: 36.89 kB / 0.7239 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.5633, allocations: 176 kB / 0.7241 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.5633, allocations: 4 kB / 0.7241 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.5633, allocations: 0 / 0.7241 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5635, allocations: 49.66 kB / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5635, allocations: 0 / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5635, allocations: 0 / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5635, allocations: 0 / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.5636, allocations: 19.98 kB / 0.7242 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.564, allocations: 256.8 kB / 0.7244 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/0.564, allocations: 26.52 kB / 0.7244 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.564, allocations: 12.92 kB / 0.7244 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.5641, allocations: 7.938 kB / 0.7245 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5641, allocations: 30.56 kB / 0.7245 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5641, allocations: 0 / 0.7245 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.5642, allocations: 49.62 kB / 0.7245 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.5643, allocations: 51.41 kB / 0.7246 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.5644, allocations: 109.8 kB / 0.7247 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.5644, allocations: 25.7 kB / 0.7247 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.5644, allocations: 92.2 kB / 0.7248 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.5645, allocations: 11.89 kB / 0.7248 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5645, allocations: 17.7 kB / 0.7248 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.5646, allocations: 310.8 kB / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.5647, allocations: 19.98 kB / 0.7251 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.5647, allocations: 4 kB / 0.7251 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.5648, allocations: 28.84 kB / 0.7252 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5648, allocations: 0 / 0.7252 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001756/0.565, allocations: 65.53 kB / 0.7252 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.565, allocations: 4 kB / 0.7252 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.565, allocations: 4 kB / 0.7252 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.565, allocations: 0 / 0.7252 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5652, allocations: 7.984 kB / 0.7253 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5652, allocations: 4 kB / 0.7253 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.5653, allocations: 15.84 kB / 0.7253 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5653, allocations: 3.984 kB / 0.7253 GB, free: 11.86 MB / 0.5606 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 6.069e-05/0.5654, allocations: 105.8 kB / 0.7254 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.5654, allocations: 4 kB / 0.7254 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.5655, allocations: 7.453 kB / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.5655, allocations: 0 / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5655, allocations: 0 / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5655, allocations: 11.92 kB / 0.7254 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.5656, allocations: 149.7 kB / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5656, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.5657, allocations: 4 kB / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5657, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5657, allocations: 3.984 kB / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5657, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5657, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.147e-05/0.5658, allocations: 147.4 kB / 0.7257 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.5658, allocations: 77.11 kB / 0.7258 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.5658, allocations: 3.984 kB / 0.7258 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.566, allocations: 4 kB / 0.7258 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.566, allocations: 3.938 kB / 0.7258 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.566, allocations: 0 / 0.7258 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.5661, allocations: 95.2 kB / 0.7259 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5661, allocations: 0 / 0.7259 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002358/0.5663, allocations: 20.03 kB / 0.7259 GB, free: 11.14 MB / 0.5606 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.0003345/0.5667, allocations: 0.6772 MB / 0.7265 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5668, allocations: 24.02 kB / 0.7266 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5668, allocations: 4 kB / 0.7266 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.5668, allocations: 4 kB / 0.7266 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.5671, allocations: 21.47 kB / 0.7266 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.5675, allocations: 160.6 kB / 0.7267 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.5677, allocations: 0.6768 MB / 0.7274 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.275e-05/0.5678, allocations: 8 kB / 0.7274 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.5678, allocations: 11.44 kB / 0.7274 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5678, allocations: 0 / 0.7274 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/2.102, allocations: 1.468 MB / 0.7289 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/2.102, allocations: 207.9 kB / 0.7291 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/4.127, allocations: 3.281 kB / 0.7291 GB, free: 7.898 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)