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.0007708/0.0007708, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005444/0.005444, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7041/0.7041, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 16 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3919, allocations: 81.58 MB / 0.5838 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001012/0.3929, allocations: 1.012 MB / 0.5847 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1605/0.5534, allocations: 143.8 MB / 0.7252 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.5535, allocations: 0 / 0.7252 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.5535, allocations: 0 / 0.7252 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.5536, allocations: 7.875 kB / 0.7252 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.5539, allocations: 95.61 kB / 0.7253 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.554, allocations: 23.81 kB / 0.7253 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.5541, allocations: 7.984 kB / 0.7253 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.5541, allocations: 11.98 kB / 0.7253 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.061e-05/0.5541, allocations: 7.938 kB / 0.7253 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.5541, allocations: 0 / 0.7253 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.5545, allocations: 175.6 kB / 0.7255 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.5545, allocations: 4 kB / 0.7255 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.5546, allocations: 41.62 kB / 0.7255 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.5548, allocations: 106.1 kB / 0.7256 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5548, allocations: 0 / 0.7256 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5548, allocations: 0 / 0.7256 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5548, allocations: 4 kB / 0.7256 GB, free: 14.5 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.000299/0.5551, allocations: 351.4 kB / 0.726 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5552, allocations: 12.03 kB / 0.726 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5552, allocations: 30.75 kB / 0.726 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.5557, allocations: 36.89 kB / 0.726 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.5558, allocations: 172.1 kB / 0.7262 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.5559, allocations: 4 kB / 0.7262 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5559, allocations: 0 / 0.7262 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.556, allocations: 49.66 kB / 0.7263 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.556, allocations: 0 / 0.7263 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5561, allocations: 0 / 0.7263 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5561, allocations: 0 / 0.7263 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.5562, allocations: 23.95 kB / 0.7263 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.5566, allocations: 252.9 kB / 0.7265 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.5566, allocations: 26.52 kB / 0.7265 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.5566, allocations: 12.92 kB / 0.7266 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.5567, allocations: 0 / 0.7266 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/0.5567, allocations: 38.55 kB / 0.7266 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.5567, allocations: 0 / 0.7266 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.5569, allocations: 49.55 kB / 0.7266 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.5569, allocations: 51.41 kB / 0.7267 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.557, allocations: 109.8 kB / 0.7268 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.5571, allocations: 25.7 kB / 0.7268 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.5571, allocations: 92.06 kB / 0.7269 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.5571, allocations: 8.031 kB / 0.7269 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.5571, allocations: 13.72 kB / 0.7269 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5572, allocations: 314.8 kB / 0.7272 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.5573, allocations: 11.98 kB / 0.7272 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.5574, allocations: 11.98 kB / 0.7272 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.5575, allocations: 24.8 kB / 0.7273 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5575, allocations: 0 / 0.7273 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.5576, allocations: 65.59 kB / 0.7273 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5577, allocations: 8 kB / 0.7273 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5577, allocations: 0 / 0.7273 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.5577, allocations: 3.938 kB / 0.7273 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.5578, allocations: 7.984 kB / 0.7274 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5578, allocations: 0 / 0.7274 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.5579, allocations: 19.92 kB / 0.7274 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.558, allocations: 0 / 0.7274 GB, free: 12.48 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.745e-05/0.558, allocations: 105.8 kB / 0.7275 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.5581, allocations: 7.906 kB / 0.7275 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.5581, allocations: 7.125 kB / 0.7275 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5581, allocations: 0 / 0.7275 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5581, allocations: 0 / 0.7275 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5581, allocations: 3.938 kB / 0.7275 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5582, allocations: 149.7 kB / 0.7276 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5582, allocations: 0 / 0.7276 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.5583, allocations: 11.98 kB / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.5583, allocations: 0 / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.5583, allocations: 0 / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5583, allocations: 0 / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5583, allocations: 4 kB / 0.7277 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.5584, allocations: 139.4 kB / 0.7278 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.5585, allocations: 81.09 kB / 0.7279 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5585, allocations: 4.031 kB / 0.7279 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.5586, allocations: 7.984 kB / 0.7279 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.5586, allocations: 7.938 kB / 0.7279 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.5586, allocations: 336 / 0.7279 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.5587, allocations: 95.25 kB / 0.728 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5587, allocations: 0 / 0.728 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002231/0.5589, allocations: 16 kB / 0.728 GB, free: 11.76 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.0003578/0.5593, allocations: 0.6773 MB / 0.7286 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.5594, allocations: 23.97 kB / 0.7287 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5594, allocations: 0 / 0.7287 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.5594, allocations: 4 kB / 0.7287 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5597, allocations: 16.03 kB / 0.7287 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.5601, allocations: 179.9 kB / 0.7289 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.5603, allocations: 0.6731 MB / 0.7295 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.945e-05/0.5604, allocations: 11.98 kB / 0.7295 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.5604, allocations: 15.42 kB / 0.7295 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5604, allocations: 0 / 0.7295 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/0.789, allocations: 1.359 MB / 0.7309 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/0.7893, allocations: 205.5 kB / 0.7311 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.623, allocations: 4 kB / 0.7311 GB, free: 8.629 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)