Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 190.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002382, allocations: 298.4 kB / 306.6 MB, free: 8.324 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 180.9 MB / 0.53 GB, free: 14.44 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 97.19 kB / 0.7308 GB, free: 39.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1519, allocations: 94.2 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002286/0.1542, allocations: 1.273 MB / 0.8241 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.1547, allocations: 299.5 kB / 0.8244 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.1548, allocations: 0 / 0.8244 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1548, allocations: 3.938 kB / 0.8244 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.1548, allocations: 8 kB / 0.8244 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1551, allocations: 55.73 kB / 0.8244 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.1551, allocations: 15.88 kB / 0.8244 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1552, allocations: 4 kB / 0.8244 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1552, allocations: 11.94 kB / 0.8245 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.1552, allocations: 3.984 kB / 0.8245 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1553, allocations: 4 kB / 0.8245 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1554, allocations: 51.95 kB / 0.8245 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.1554, allocations: 4 kB / 0.8245 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.1554, allocations: 11.92 kB / 0.8245 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1555, allocations: 51.83 kB / 0.8246 GB, free: 32 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1555, allocations: 0 / 0.8246 GB, free: 32 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1555, allocations: 0 / 0.8246 GB, free: 32 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1555, allocations: 0 / 0.8246 GB, free: 32 kB / 0.5606 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.0003905/0.1559, allocations: 266.2 kB / 0.8248 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.156, allocations: 12.03 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.1562, allocations: 20.92 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.1563, allocations: 102.5 kB / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1563, allocations: 384 / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1563, allocations: 4.375 kB / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1564, allocations: 50.17 kB / 0.825 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1564, allocations: 192 / 0.825 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1564, allocations: 11.94 kB / 0.825 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1564, allocations: 0 / 0.825 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.1565, allocations: 12 kB / 0.825 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1566, allocations: 128.8 kB / 0.8252 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.1585, allocations: 262.5 kB / 0.8254 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.1585, allocations: 32.77 kB / 0.8254 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1585, allocations: 4 kB / 0.8254 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1586, allocations: 34.5 kB / 0.8255 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1586, allocations: 0 / 0.8255 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.1587, allocations: 65.62 kB / 0.8255 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1588, allocations: 51.41 kB / 0.8256 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.1588, allocations: 89.86 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1589, allocations: 25.83 kB / 0.8257 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1589, allocations: 92.12 kB / 0.8258 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1589, allocations: 15.89 kB / 0.8258 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1589, allocations: 13.72 kB / 0.8258 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1591, allocations: 310.8 kB / 0.8261 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.1591, allocations: 8 kB / 0.8261 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.1591, allocations: 11.98 kB / 0.8261 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.1592, allocations: 28.8 kB / 0.8262 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1592, allocations: 0 / 0.8262 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.794e-05/0.1593, allocations: 61.64 kB / 0.8262 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1593, allocations: 4 kB / 0.8262 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1593, allocations: 7.875 kB / 0.8262 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1593, allocations: 4 kB / 0.8262 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.1594, allocations: 4 kB / 0.8262 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1594, allocations: 0 / 0.8262 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.1594, allocations: 0 / 0.8262 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1594, allocations: 4 kB / 0.8262 GB, free: 14.14 MB / 0.5762 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 8.095e-05/0.1595, allocations: 115.1 kB / 0.8264 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.1595, allocations: 7.984 kB / 0.8264 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.1595, allocations: 11.47 kB / 0.8264 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1595, allocations: 4 kB / 0.8264 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1595, allocations: 0 / 0.8264 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1595, allocations: 0 / 0.8264 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1597, allocations: 128.7 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1597, allocations: 0 / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.1597, allocations: 8 kB / 0.8265 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1597, allocations: 0 / 0.8265 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1597, allocations: 3.938 kB / 0.8265 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1597, allocations: 0 / 0.8265 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1597, allocations: 4 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1598, allocations: 77.12 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1599, allocations: 12.31 kB / 0.8266 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1599, allocations: 3.938 kB / 0.8266 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.1599, allocations: 7.938 kB / 0.8266 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.16, allocations: 4 kB / 0.8266 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.16, allocations: 3.938 kB / 0.8266 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.16, allocations: 79.28 kB / 0.8267 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.8267 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001862/0.1602, allocations: 12 kB / 0.8267 GB, free: 13.59 MB / 0.5762 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.0001083/0.1603, allocations: 103.2 kB / 0.8268 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.1604, allocations: 16 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1604, allocations: 0 / 0.8268 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.1604, allocations: 19.92 kB / 0.8268 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1607, allocations: 18.42 kB / 0.8269 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1609, allocations: 118.9 kB / 0.827 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1612, allocations: 0.6806 MB / 0.8276 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.1613, allocations: 8 kB / 0.8276 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.1613, allocations: 7.438 kB / 0.8276 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1613, allocations: 0 / 0.8276 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.002757/0.164, allocations: 0.5415 MB / 0.8282 GB, free: 12.02 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.681343029253185] Failed to read output from testmodel.py, exit status != 0: 0.1707598650828004 0.184581815 0.02620457 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdc4f39d7b0>