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.001641/0.00164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 64.12 kB / 0.5019 GB, free: 8.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2048, allocations: 80.21 MB / 0.5802 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002948/0.2078, allocations: 1.268 MB / 0.5814 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5416/0.7494, allocations: 147.6 MB / 0.7256 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.7495, allocations: 1.219 kB / 0.7256 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.7496, allocations: 0 / 0.7256 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.7496, allocations: 10.86 kB / 0.7256 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.7501, allocations: 121.1 kB / 0.7257 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.7502, allocations: 18.25 kB / 0.7258 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.7503, allocations: 2.406 kB / 0.7258 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.7503, allocations: 12.41 kB / 0.7258 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.7504, allocations: 4.375 kB / 0.7258 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.7504, allocations: 1.25 kB / 0.7258 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.7509, allocations: 172.5 kB / 0.726 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.7509, allocations: 14.12 kB / 0.726 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.751, allocations: 4.281 kB / 0.726 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.7513, allocations: 109.7 kB / 0.7261 GB, free: 5.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7513, allocations: 5.844 kB / 0.7261 GB, free: 5.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7513, allocations: 0 / 0.7261 GB, free: 5.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.7513, allocations: 0 / 0.7261 GB, free: 5.391 MB / 0.545 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.0004714/0.7518, allocations: 348.7 kB / 0.7264 GB, free: 5.023 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.7518, allocations: 9.719 kB / 0.7264 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.7519, allocations: 31.45 kB / 0.7264 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.7525, allocations: 39.91 kB / 0.7265 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.7527, allocations: 163.7 kB / 0.7266 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.7528, allocations: 9.188 kB / 0.7267 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7528, allocations: 0 / 0.7267 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.753, allocations: 50.25 kB / 0.7267 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.753, allocations: 0 / 0.7267 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.753, allocations: 1.891 kB / 0.7267 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.753, allocations: 0 / 0.7267 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.7532, allocations: 30 kB / 0.7267 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.7536, allocations: 255.1 kB / 0.727 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.7537, allocations: 24.73 kB / 0.727 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.7537, allocations: 9.938 kB / 0.727 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.7537, allocations: 4.547 kB / 0.727 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7538, allocations: 36.12 kB / 0.727 GB, free: 4.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7538, allocations: 1.219 kB / 0.727 GB, free: 4.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.7539, allocations: 44.66 kB / 0.7271 GB, free: 4.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.754, allocations: 52.2 kB / 0.7271 GB, free: 4.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.7542, allocations: 108.9 kB / 0.7272 GB, free: 4.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.7542, allocations: 30.95 kB / 0.7273 GB, free: 4.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.7542, allocations: 89.06 kB / 0.7274 GB, free: 4.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.7542, allocations: 5.094 kB / 0.7274 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.7543, allocations: 18.56 kB / 0.7274 GB, free: 4.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7544, allocations: 321.3 kB / 0.7277 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.7545, allocations: 8.297 kB / 0.7277 GB, free: 3.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.7546, allocations: 10.25 kB / 0.7277 GB, free: 3.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.7547, allocations: 33.34 kB / 0.7277 GB, free: 3.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7547, allocations: 0 / 0.7277 GB, free: 3.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002015/0.7549, allocations: 60.67 kB / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7549, allocations: 5.438 kB / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7549, allocations: 1.812 kB / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.755, allocations: 0 / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7551, allocations: 12.41 kB / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7551, allocations: 1.156 kB / 0.7278 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.7553, allocations: 15.59 kB / 0.7278 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.7553, allocations: 2.922 kB / 0.7278 GB, free: 3.637 MB / 0.545 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 8.778e-05/0.7554, allocations: 111.3 kB / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.7554, allocations: 1.938 kB / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.7554, allocations: 5.219 kB / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7555, allocations: 0 / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7555, allocations: 1.25 kB / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7555, allocations: 12.53 kB / 0.728 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.7557, allocations: 152.3 kB / 0.7281 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7557, allocations: 1.281 kB / 0.7281 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.7557, allocations: 6.438 kB / 0.7281 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7557, allocations: 1.312 kB / 0.7281 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.7557, allocations: 0.6562 kB / 0.7281 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7557, allocations: 1.406 kB / 0.7281 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7557, allocations: 0 / 0.7281 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.7559, allocations: 139.3 kB / 0.7282 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.7559, allocations: 83.56 kB / 0.7283 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.756, allocations: 2 kB / 0.7283 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.7561, allocations: 1.969 kB / 0.7283 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.7561, allocations: 2.125 kB / 0.7283 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.7561, allocations: 3.938 kB / 0.7283 GB, free: 3.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001017/0.7562, allocations: 92.33 kB / 0.7284 GB, free: 2.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7562, allocations: 0 / 0.7284 GB, free: 2.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002546/0.7565, allocations: 20.94 kB / 0.7284 GB, free: 2.984 MB / 0.545 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.0006202/0.7571, allocations: 0.6757 MB / 0.7291 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.7573, allocations: 25.94 kB / 0.7291 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7573, allocations: 0 / 0.7291 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.7573, allocations: 8.406 kB / 0.7291 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.7577, allocations: 15.23 kB / 0.7292 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.7583, allocations: 151.3 kB / 0.7293 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.7586, allocations: 0.6754 MB / 0.73 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.803e-05/0.7587, allocations: 12.73 kB / 0.73 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.7588, allocations: 18.17 kB / 0.73 GB, free: 1.441 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.7588, allocations: 0 / 0.73 GB, free: 1.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.7776, allocations: 1.559 MB / 0.7315 GB, free: 1.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/8.316, allocations: 13.08 kB / 0.7315 GB, free: 1.102 MB / 0.545 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)