Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_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.001177/0.001177, 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.001329/0.001329, allocations: 190.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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9916/0.9916, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.84 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1434, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00197/0.1454, allocations: 1.337 MB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.335/0.4804, allocations: 145.5 MB / 0.7274 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.4805, allocations: 0 / 0.7274 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.4805, allocations: 2.094 kB / 0.7274 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.4805, allocations: 5.781 kB / 0.7274 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.4809, allocations: 106.2 kB / 0.7275 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.904e-05/0.481, allocations: 25.73 kB / 0.7275 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.013e-05/0.481, allocations: 7.453 kB / 0.7275 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.481, allocations: 4.375 kB / 0.7275 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.4811, allocations: 8.391 kB / 0.7275 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.4811, allocations: 0 / 0.7275 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.4814, allocations: 178.8 kB / 0.7277 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-06/0.4814, allocations: 0.6562 kB / 0.7277 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.4815, allocations: 8.906 kB / 0.7277 GB, free: 2.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.4816, allocations: 119.8 kB / 0.7278 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4817, allocations: 0 / 0.7278 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.11e-07/0.4817, allocations: 0 / 0.7278 GB, free: 2.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.4817, allocations: 1.125 kB / 0.7278 GB, free: 2.238 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.0002389/0.4819, allocations: 356.4 kB / 0.7282 GB, free: 1.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.4819, allocations: 8.844 kB / 0.7282 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.246e-05/0.482, allocations: 32.75 kB / 0.7282 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.4825, allocations: 38.25 kB / 0.7282 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.4825, allocations: 163.8 kB / 0.7284 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.4826, allocations: 9.156 kB / 0.7284 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4826, allocations: 1.25 kB / 0.7284 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4827, allocations: 47.8 kB / 0.7284 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-06/0.4827, allocations: 0.5625 kB / 0.7284 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4827, allocations: 4 kB / 0.7284 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4827, allocations: 1.031 kB / 0.7284 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4828, allocations: 18 kB / 0.7285 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.4831, allocations: 255.1 kB / 0.7287 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.4832, allocations: 26.11 kB / 0.7287 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.4832, allocations: 9 kB / 0.7287 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.4832, allocations: 0 / 0.7287 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4833, allocations: 40.53 kB / 0.7288 GB, free: 1.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4833, allocations: 4 kB / 0.7288 GB, free: 1.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.4834, allocations: 37.55 kB / 0.7288 GB, free: 1.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4834, allocations: 56.53 kB / 0.7289 GB, free: 1.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4835, allocations: 112.5 kB / 0.729 GB, free: 1.016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.4835, allocations: 26.89 kB / 0.729 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.4836, allocations: 80.94 kB / 0.7291 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.4836, allocations: 15.06 kB / 0.7291 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.4836, allocations: 25.84 kB / 0.7291 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.4837, allocations: 317.4 kB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.4838, allocations: 9.188 kB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.4838, allocations: 14.06 kB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.4839, allocations: 20.98 kB / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4839, allocations: 0 / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001693/0.4841, allocations: 63.95 kB / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.4841, allocations: 5.094 kB / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.4841, allocations: 1.562 kB / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.4841, allocations: 0.6562 kB / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.4842, allocations: 12.53 kB / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.4842, allocations: 0 / 0.7295 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.4844, allocations: 19.19 kB / 0.7296 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4844, allocations: 6.719 kB / 0.7296 GB, free: 492 kB / 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 5.303e-05/0.4845, allocations: 111.8 kB / 0.7297 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.4845, allocations: 1.531 kB / 0.7297 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.4845, allocations: 5.547 kB / 0.7297 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.4845, allocations: 0 / 0.7297 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4845, allocations: 0.7031 kB / 0.7297 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4845, allocations: 3.938 kB / 0.7297 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4847, allocations: 153.9 kB / 0.7298 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4847, allocations: 0 / 0.7298 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.4847, allocations: 7.75 kB / 0.7298 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4847, allocations: 1.094 kB / 0.7298 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.4847, allocations: 0 / 0.7298 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4847, allocations: 0.9062 kB / 0.7298 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4847, allocations: 0 / 0.7298 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.381e-05/0.4848, allocations: 136 kB / 0.73 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.4849, allocations: 79.02 kB / 0.7301 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4849, allocations: 8.484 kB / 0.7301 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.485, allocations: 7.781 kB / 0.7301 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-06/0.485, allocations: 3.938 kB / 0.7301 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.485, allocations: 6 kB / 0.7301 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.4851, allocations: 91.75 kB / 0.7302 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.873e-06/0.4851, allocations: 0 / 0.7302 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002223/0.4853, allocations: 16.31 kB / 0.7302 GB, free: 15.84 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.0003153/0.4856, allocations: 0.6845 MB / 0.7308 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.4858, allocations: 24.7 kB / 0.7309 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4858, allocations: 0 / 0.7309 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.4858, allocations: 5.016 kB / 0.7309 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.486, allocations: 14.67 kB / 0.7309 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4864, allocations: 162.8 kB / 0.731 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.4866, allocations: 0.6753 MB / 0.7317 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.4866, allocations: 12.77 kB / 0.7317 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.4867, allocations: 10.66 kB / 0.7317 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4867, allocations: 0 / 0.7317 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8937/1.38, allocations: 1.483 MB / 0.7332 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/1.381, allocations: 211.6 kB / 0.7334 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.659, allocations: 0 / 0.7334 GB, free: 13.82 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)