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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 114.2 kB / 17.83 MB, free: 5.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 203.1 kB / 20.8 MB, free: 2.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9907/0.9907, allocations: 150 MB / 460.2 MB, free: 5.344 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 64.16 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 89.13 MB / 0.7238 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002917/0.1586, allocations: 1.268 MB / 0.7251 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.1593, allocations: 307.4 kB / 0.7254 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.1594, allocations: 0 / 0.7254 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1594, allocations: 0 / 0.7254 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.1594, allocations: 7.922 kB / 0.7254 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1598, allocations: 47.75 kB / 0.7254 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.1599, allocations: 19.92 kB / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1599, allocations: 4 kB / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.16, allocations: 4 kB / 0.7254 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.16, allocations: 11.92 kB / 0.7255 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1601, allocations: 0 / 0.7255 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1602, allocations: 63.94 kB / 0.7255 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1602, allocations: 4 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.1602, allocations: 4 kB / 0.7255 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1604, allocations: 52.05 kB / 0.7256 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1604, allocations: 0 / 0.7256 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1604, allocations: 0 / 0.7256 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1604, allocations: 0 / 0.7256 GB, free: 2.305 MB / 0.5294 GB 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.0005188/0.1609, allocations: 343.3 kB / 0.7259 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.161, allocations: 16.02 kB / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.691e-05/0.161, allocations: 192 / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.1611, allocations: 34.75 kB / 0.726 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1613, allocations: 20.86 kB / 0.726 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1615, allocations: 160.4 kB / 0.7261 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1615, allocations: 384 / 0.7261 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1615, allocations: 8.375 kB / 0.7261 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1616, allocations: 45.98 kB / 0.7262 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1617, allocations: 0 / 0.7262 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1617, allocations: 3.984 kB / 0.7262 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1617, allocations: 4 kB / 0.7262 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.1617, allocations: 12 kB / 0.7262 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.1619, allocations: 161.6 kB / 0.7264 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.1639, allocations: 266.4 kB / 0.7266 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1639, allocations: 20.84 kB / 0.7266 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1639, allocations: 0 / 0.7266 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.164, allocations: 46.5 kB / 0.7267 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.164, allocations: 0 / 0.7267 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002162/0.1642, allocations: 61.62 kB / 0.7267 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1642, allocations: 55.34 kB / 0.7268 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.1643, allocations: 93.86 kB / 0.7269 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1644, allocations: 25.7 kB / 0.7269 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.1644, allocations: 82.03 kB / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1645, allocations: 15.89 kB / 0.727 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1645, allocations: 21.84 kB / 0.727 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1647, allocations: 310.8 kB / 0.7273 GB, free: 312 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.1647, allocations: 8 kB / 0.7273 GB, free: 304 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.1647, allocations: 11.98 kB / 0.7273 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.1648, allocations: 28.86 kB / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1648, allocations: 0 / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.263e-05/0.1648, allocations: 57.62 kB / 0.7274 GB, free: 196 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1649, allocations: 7.938 kB / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1649, allocations: 0 / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1649, allocations: 4 kB / 0.7274 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.1649, allocations: 8 kB / 0.7274 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.165, allocations: 3.984 kB / 0.7274 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.165, allocations: 3.953 kB / 0.7274 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.165, allocations: 0 / 0.7274 GB, free: 168 kB / 0.5294 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 (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 9.425e-05/0.1651, allocations: 109.8 kB / 0.7275 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1651, allocations: 7.922 kB / 0.7275 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.1651, allocations: 7.5 kB / 0.7276 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1651, allocations: 0 / 0.7276 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1652, allocations: 8 kB / 0.7276 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1652, allocations: 0 / 0.7276 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1653, allocations: 165.5 kB / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1653, allocations: 0 / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.1654, allocations: 4.328 kB / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1654, allocations: 3.938 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1654, allocations: 4 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1654, allocations: 0 / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1654, allocations: 3.938 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1655, allocations: 81.11 kB / 0.7278 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.1656, allocations: 85.03 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1656, allocations: 8 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.1657, allocations: 0 / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1657, allocations: 0 / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1657, allocations: 4 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.1657, allocations: 75.28 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1657, allocations: 0 / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002034/0.1659, allocations: 4 kB / 0.728 GB, free: 15.51 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 (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.0004659/0.1664, allocations: 0.6319 MB / 0.7286 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1665, allocations: 23.98 kB / 0.7286 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1665, allocations: 0 / 0.7286 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.1666, allocations: 15.94 kB / 0.7286 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1669, allocations: 14.72 kB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1674, allocations: 152.2 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1677, allocations: 0.6729 MB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.307e-05/0.1677, allocations: 8 kB / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1678, allocations: 7.438 kB / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.1678, allocations: 0 / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.184, allocations: 1.374 MB / 0.7308 GB, free: 12.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.49, allocations: 9.219 kB / 0.7308 GB, free: 12.63 MB / 0.545 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.426478459034115] Failed to read output from testmodel.py, exit status != 0: 8.616131772985682 8.632081444 8.468689528 Calling exit ...