Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001269/0.001269, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001292/0.001292, allocations: 198 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7476/0.7476, allocations: 115.3 MB / 406.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3988, allocations: 76.17 MB / 0.556 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002461/0.4014, allocations: 1.322 MB / 0.5573 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005256/0.4019, allocations: 287.6 kB / 0.5576 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.4019, allocations: 0.7188 kB / 0.5576 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.402, allocations: 6.375 kB / 0.5576 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.402, allocations: 0.75 kB / 0.5576 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.4023, allocations: 53.84 kB / 0.5576 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.4024, allocations: 16.44 kB / 0.5577 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.4024, allocations: 3.203 kB / 0.5577 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.4025, allocations: 8.469 kB / 0.5577 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.4025, allocations: 14.45 kB / 0.5577 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4025, allocations: 1.281 kB / 0.5577 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.4026, allocations: 53.28 kB / 0.5577 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.4027, allocations: 0.7812 kB / 0.5577 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.4027, allocations: 14.48 kB / 0.5578 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.4028, allocations: 49.02 kB / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4028, allocations: 0 / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4029, allocations: 0 / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4029, allocations: 1.375 kB / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004042/0.4033, allocations: 337.9 kB / 0.5581 GB, free: 34.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4033, allocations: 9.875 kB / 0.5581 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.4034, allocations: 32.91 kB / 0.5582 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.4036, allocations: 16.86 kB / 0.5582 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.4037, allocations: 164.4 kB / 0.5583 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4037, allocations: 1.719 kB / 0.5583 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.4037, allocations: 6.812 kB / 0.5583 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4039, allocations: 45.36 kB / 0.5584 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4039, allocations: 3.938 kB / 0.5584 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4039, allocations: 6.469 kB / 0.5584 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4039, allocations: 3.328 kB / 0.5584 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.658e-05/0.404, allocations: 17.78 kB / 0.5584 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.4041, allocations: 156.6 kB / 0.5586 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.4061, allocations: 265.5 kB / 0.5588 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.4062, allocations: 18 kB / 0.5588 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4062, allocations: 3.156 kB / 0.5588 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4062, allocations: 37.31 kB / 0.5589 GB, free: 33.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4062, allocations: 0 / 0.5589 GB, free: 33.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.4064, allocations: 72.64 kB / 0.5589 GB, free: 33.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.4064, allocations: 52.38 kB / 0.559 GB, free: 33.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.4065, allocations: 92.52 kB / 0.5591 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4065, allocations: 27.3 kB / 0.5591 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.4066, allocations: 80.14 kB / 0.5592 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.4066, allocations: 18.92 kB / 0.5592 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4066, allocations: 13.7 kB / 0.5592 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.4067, allocations: 317.5 kB / 0.5595 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.4067, allocations: 6.297 kB / 0.5595 GB, free: 32.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.4068, allocations: 9.125 kB / 0.5595 GB, free: 32.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.4068, allocations: 34.52 kB / 0.5596 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4068, allocations: 0 / 0.5596 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.15e-05/0.4069, allocations: 58.66 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4069, allocations: 8.594 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.407, allocations: 1.922 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.407, allocations: 1.406 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.407, allocations: 5.125 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4071, allocations: 0 / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.4071, allocations: 1.094 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4071, allocations: 1.625 kB / 0.5596 GB, free: 32.75 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * 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.8e-05/0.4072, allocations: 120.5 kB / 0.5598 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.4072, allocations: 5.906 kB / 0.5598 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.4072, allocations: 13.92 kB / 0.5598 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4072, allocations: 6.219 kB / 0.5598 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4072, allocations: 0.8125 kB / 0.5598 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4073, allocations: 0 / 0.5598 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.638e-05/0.4074, allocations: 154.4 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4074, allocations: 0.5625 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.4074, allocations: 8.391 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4074, allocations: 4.906 kB / 0.5599 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4074, allocations: 1.344 kB / 0.5599 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4074, allocations: 1.469 kB / 0.5599 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4074, allocations: 0 / 0.5599 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.127e-05/0.4075, allocations: 80.28 kB / 0.56 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.4076, allocations: 84.23 kB / 0.5601 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4076, allocations: 5.062 kB / 0.5601 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.4077, allocations: 1.406 kB / 0.5601 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.4077, allocations: 7.391 kB / 0.5601 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4077, allocations: 1.156 kB / 0.5601 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.109e-05/0.4077, allocations: 82.84 kB / 0.5602 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4077, allocations: 0 / 0.5602 GB, free: 32.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.4079, allocations: 5.562 kB / 0.5602 GB, free: 32.16 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * 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.0002524/0.4082, allocations: 0.6161 MB / 0.5608 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.4083, allocations: 26.12 kB / 0.5608 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4083, allocations: 4 kB / 0.5608 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.4083, allocations: 11.44 kB / 0.5608 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.4086, allocations: 12.23 kB / 0.5609 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.409, allocations: 155.8 kB / 0.561 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4091, allocations: 0.6791 MB / 0.5617 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.4092, allocations: 11.28 kB / 0.5617 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.4092, allocations: 12.78 kB / 0.5617 GB, free: 30.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4092, allocations: 1 kB / 0.5617 GB, free: 30.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.4198, allocations: 1.208 MB / 0.5629 GB, free: 30.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.4199, allocations: 206.3 kB / 0.5631 GB, free: 30.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.185, allocations: 0 / 0.5631 GB, free: 30.23 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)