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.000994/0.0009939, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001087, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.1 MB / 425.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.78 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.91 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002035/0.1384, allocations: 1.339 MB / 0.5851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3322/0.4706, allocations: 145.3 MB / 0.727 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.4706, allocations: 0 / 0.727 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.4707, allocations: 0.5156 kB / 0.727 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.4707, allocations: 6.5 kB / 0.7271 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.4711, allocations: 106 kB / 0.7272 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.4711, allocations: 18.5 kB / 0.7272 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.4712, allocations: 3.125 kB / 0.7272 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.4712, allocations: 7.469 kB / 0.7272 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.4712, allocations: 8.484 kB / 0.7272 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.4712, allocations: 1.094 kB / 0.7272 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.4716, allocations: 180.1 kB / 0.7274 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.4716, allocations: 0.5625 kB / 0.7274 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.4717, allocations: 13.16 kB / 0.7274 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.4719, allocations: 115.4 kB / 0.7275 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4719, allocations: 1.094 kB / 0.7275 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4719, allocations: 0 / 0.7275 GB, free: 2.609 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.4719, allocations: 0 / 0.7275 GB, free: 2.609 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.0002939/0.4722, allocations: 348.6 kB / 0.7278 GB, free: 2.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4722, allocations: 9.75 kB / 0.7278 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.4723, allocations: 32.48 kB / 0.7279 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.4728, allocations: 40.58 kB / 0.7279 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.4729, allocations: 167 kB / 0.7281 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4729, allocations: 5 kB / 0.7281 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.4729, allocations: 1.781 kB / 0.7281 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.4731, allocations: 43.88 kB / 0.7281 GB, free: 1.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4731, allocations: 0 / 0.7281 GB, free: 1.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4731, allocations: 1.125 kB / 0.7281 GB, free: 1.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4731, allocations: 4.797 kB / 0.7281 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.4733, allocations: 24.77 kB / 0.7281 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.4736, allocations: 251.1 kB / 0.7284 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.4737, allocations: 26.23 kB / 0.7284 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.4737, allocations: 13.47 kB / 0.7284 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.4737, allocations: 4.969 kB / 0.7284 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4737, allocations: 31.5 kB / 0.7284 GB, free: 1.598 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4737, allocations: 0 / 0.7284 GB, free: 1.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.4739, allocations: 45.39 kB / 0.7285 GB, free: 1.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4739, allocations: 53.25 kB / 0.7285 GB, free: 1.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4741, allocations: 118.4 kB / 0.7287 GB, free: 1.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.4741, allocations: 25.7 kB / 0.7287 GB, free: 1.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.4741, allocations: 82.06 kB / 0.7288 GB, free: 1.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.4741, allocations: 9.594 kB / 0.7288 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4742, allocations: 21.94 kB / 0.7288 GB, free: 1.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4743, allocations: 316.6 kB / 0.7291 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.4744, allocations: 8.984 kB / 0.7291 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.4744, allocations: 14 kB / 0.7291 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.4745, allocations: 26.77 kB / 0.7291 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4745, allocations: 0 / 0.7291 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000183/0.4747, allocations: 60.98 kB / 0.7292 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.4747, allocations: 5.625 kB / 0.7292 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.4747, allocations: 0 / 0.7292 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4748, allocations: 0.7031 kB / 0.7292 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4749, allocations: 13.23 kB / 0.7292 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4749, allocations: 1.156 kB / 0.7292 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.475, allocations: 15.62 kB / 0.7292 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.475, allocations: 3.109 kB / 0.7292 GB, free: 0.8594 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 6.384e-05/0.4751, allocations: 113.3 kB / 0.7293 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4751, allocations: 4.969 kB / 0.7293 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.4752, allocations: 4.828 kB / 0.7294 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4752, allocations: 4 kB / 0.7294 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4752, allocations: 2.328 kB / 0.7294 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4752, allocations: 3.938 kB / 0.7294 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.4753, allocations: 153.6 kB / 0.7295 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4753, allocations: 0 / 0.7295 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.4754, allocations: 7.703 kB / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4754, allocations: 0.5625 kB / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.4754, allocations: 1.891 kB / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4754, allocations: 0 / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4754, allocations: 0 / 0.7295 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.4755, allocations: 148.2 kB / 0.7297 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4756, allocations: 79.8 kB / 0.7297 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4756, allocations: 0 / 0.7297 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4757, allocations: 3.812 kB / 0.7297 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.4757, allocations: 5.719 kB / 0.7297 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4757, allocations: 3.938 kB / 0.7297 GB, free: 296 kB / 0.545 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.4758, allocations: 91.55 kB / 0.7298 GB, free: 216 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4758, allocations: 1.125 kB / 0.7298 GB, free: 216 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002285/0.4761, allocations: 19.22 kB / 0.7299 GB, free: 208 kB / 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.000368/0.4764, allocations: 0.6739 MB / 0.7305 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.4766, allocations: 25.38 kB / 0.7305 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4766, allocations: 0 / 0.7305 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.4766, allocations: 7.812 kB / 0.7305 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4769, allocations: 11.75 kB / 0.7306 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.4772, allocations: 169.2 kB / 0.7307 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.4774, allocations: 0.676 MB / 0.7314 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.4775, allocations: 7.781 kB / 0.7314 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.4776, allocations: 15.17 kB / 0.7314 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4776, allocations: 3.938 kB / 0.7314 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/0.9552, allocations: 1.444 MB / 0.7328 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.9554, allocations: 208 kB / 0.733 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.838, allocations: 0 / 0.733 GB, free: 14.17 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)