Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001218/0.001218, allocations: 110 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.001434/0.001434, allocations: 190 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.405/1.405, allocations: 225.6 MB / 251 MB, free: 13.02 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.002485/0.002485, allocations: 286.8 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.212/1.212, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 99.08 kB / 0.7308 GB, free: 38.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1549, allocations: 94.2 MB / 0.8228 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003092/0.158, allocations: 1.725 MB / 0.8245 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.1589, allocations: 0.5174 MB / 0.825 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.1589, allocations: 4 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.1594, allocations: 159.4 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.1595, allocations: 51.73 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1598, allocations: 63.8 kB / 0.8253 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.16, allocations: 107.4 kB / 0.8254 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.16, allocations: 7.938 kB / 0.8254 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.1601, allocations: 35.84 kB / 0.8254 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1602, allocations: 55.75 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1602, allocations: 0 / 0.8255 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1605, allocations: 95.83 kB / 0.8256 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.1606, allocations: 59.8 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.1606, allocations: 63.56 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1609, allocations: 199.1 kB / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1609, allocations: 0 / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.161, allocations: 0 / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.161, allocations: 4 kB / 0.8259 GB, free: 14.66 MB / 0.5762 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.0006557/0.1616, allocations: 405 kB / 0.8263 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1616, allocations: 12.03 kB / 0.8263 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1617, allocations: 16.84 kB / 0.8263 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1619, allocations: 173.5 kB / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1619, allocations: 384 / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1619, allocations: 384 / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1621, allocations: 66.22 kB / 0.8265 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1621, allocations: 3.938 kB / 0.8265 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1621, allocations: 0 / 0.8265 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1621, allocations: 0 / 0.8265 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1623, allocations: 55.95 kB / 0.8266 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.1628, allocations: 307.9 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.163, allocations: 62.48 kB / 0.8269 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1631, allocations: 36.89 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.1632, allocations: 8 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1632, allocations: 38.55 kB / 0.827 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1632, allocations: 0 / 0.827 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004613/0.1637, allocations: 141.4 kB / 0.8271 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1637, allocations: 51.41 kB / 0.8272 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.164, allocations: 253.9 kB / 0.8274 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.164, allocations: 29.77 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1641, allocations: 136.1 kB / 0.8276 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1641, allocations: 7.891 kB / 0.8276 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1642, allocations: 17.72 kB / 0.8276 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1643, allocations: 334.8 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1644, allocations: 23.98 kB / 0.828 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1645, allocations: 35.91 kB / 0.828 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1647, allocations: 64.88 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1647, allocations: 3.938 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002422/0.165, allocations: 109.5 kB / 0.8282 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.165, allocations: 10.5 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.165, allocations: 0 / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.165, allocations: 0 / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.1651, allocations: 8.031 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1651, allocations: 7.984 kB / 0.8282 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.1652, allocations: 0 / 0.8282 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1652, allocations: 4 kB / 0.8282 GB, free: 12.11 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 (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 prepare postOptimizeDAE: time 0.0001243/0.1653, allocations: 138.4 kB / 0.8283 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1653, allocations: 19.86 kB / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1656, allocations: 118.6 kB / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1656, allocations: 3.938 kB / 0.8285 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1656, allocations: 0 / 0.8285 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1656, allocations: 0 / 0.8285 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1659, allocations: 188.6 kB / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1659, allocations: 0 / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.1659, allocations: 15.98 kB / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1659, allocations: 0 / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1659, allocations: 0 / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.166, allocations: 0 / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.166, allocations: 4.031 kB / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1663, allocations: 211.3 kB / 0.8289 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1663, allocations: 11.91 kB / 0.8289 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1663, allocations: 0 / 0.8289 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1664, allocations: 7.984 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1665, allocations: 8.016 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1665, allocations: 0 / 0.8289 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001888/0.1666, allocations: 193.2 kB / 0.8291 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1666, allocations: 3.938 kB / 0.8291 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002692/0.1669, allocations: 39.89 kB / 0.8291 GB, free: 11.08 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 (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.0002074/0.1671, allocations: 131.1 kB / 0.8292 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1674, allocations: 71.88 kB / 0.8293 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1674, allocations: 4 kB / 0.8293 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1675, allocations: 31.92 kB / 0.8293 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.168, allocations: 41.31 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.1686, allocations: 338.7 kB / 0.8297 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1691, allocations: 0.7353 MB / 0.8304 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.1691, allocations: 7.75 kB / 0.8304 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.1691, allocations: 15.44 kB / 0.8304 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1691, allocations: 0 / 0.8304 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.005095/0.1742, allocations: 1.812 MB / 0.8322 GB, free: 7.879 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9476976711303] Failed to read output from testmodel.py, exit status != 0: 0.18241572845727205 0.19768506700000002 0.033770548000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc1b9f8d7b0>