Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001222/0.001222, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.0013/0.0013, allocations: 186 kB / 22.23 MB, free: 5.105 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.381/1.381, 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.002586/0.002586, allocations: 290.3 kB / 306.6 MB, free: 8.32 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.194/1.194, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 100.2 kB / 0.7308 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1491, allocations: 94.2 MB / 0.8228 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003191/0.1522, allocations: 1.729 MB / 0.8245 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.153, allocations: 490 kB / 0.825 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.153, allocations: 0 / 0.825 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.1535, allocations: 147.5 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.1535, allocations: 51.73 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1538, allocations: 63.8 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.154, allocations: 99.5 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.154, allocations: 7.938 kB / 0.8253 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.1541, allocations: 43.78 kB / 0.8254 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.1542, allocations: 55.73 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1542, allocations: 4 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1544, allocations: 87.84 kB / 0.8255 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.1544, allocations: 55.8 kB / 0.8256 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.1545, allocations: 67.55 kB / 0.8256 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1548, allocations: 183.2 kB / 0.8258 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1548, allocations: 0 / 0.8258 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1548, allocations: 0 / 0.8258 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1548, allocations: 3.938 kB / 0.8258 GB, free: 14.75 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.0006385/0.1555, allocations: 418.8 kB / 0.8262 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1555, allocations: 8.625 kB / 0.8262 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1556, allocations: 20.84 kB / 0.8262 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1557, allocations: 161.6 kB / 0.8264 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1557, allocations: 4.375 kB / 0.8264 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1558, allocations: 384 / 0.8264 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.156, allocations: 54.17 kB / 0.8264 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.156, allocations: 7.938 kB / 0.8264 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.156, allocations: 0 / 0.8264 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.156, allocations: 0 / 0.8264 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1562, allocations: 47.95 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1566, allocations: 279.9 kB / 0.8268 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1568, allocations: 50.42 kB / 0.8268 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.1569, allocations: 20.91 kB / 0.8268 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1569, allocations: 8 kB / 0.8268 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1569, allocations: 42.48 kB / 0.8269 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1569, allocations: 0 / 0.8269 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.1573, allocations: 105.5 kB / 0.827 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1573, allocations: 51.41 kB / 0.827 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1576, allocations: 258 kB / 0.8273 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1576, allocations: 29.7 kB / 0.8273 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.1577, allocations: 140 kB / 0.8274 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1577, allocations: 3.953 kB / 0.8274 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1578, allocations: 17.7 kB / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1579, allocations: 326.8 kB / 0.8278 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.158, allocations: 19.98 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1581, allocations: 23.97 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1582, allocations: 48.81 kB / 0.8279 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1582, allocations: 3.938 kB / 0.8279 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002183/0.1584, allocations: 85.56 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1585, allocations: 10.34 kB / 0.828 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1585, allocations: 96 / 0.828 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1585, allocations: 4 kB / 0.828 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.1586, allocations: 11.88 kB / 0.828 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1586, allocations: 0 / 0.828 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1586, allocations: 7.984 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1586, allocations: 4 kB / 0.828 GB, free: 12.34 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.0001168/0.1588, allocations: 138.4 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1588, allocations: 19.86 kB / 0.8281 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1591, allocations: 98.61 kB / 0.8282 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1591, allocations: 0 / 0.8282 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1591, allocations: 0 / 0.8282 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1591, allocations: 4 kB / 0.8282 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1593, allocations: 184.6 kB / 0.8284 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1593, allocations: 4 kB / 0.8284 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.1593, allocations: 11.98 kB / 0.8284 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1593, allocations: 0 / 0.8284 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1593, allocations: 0 / 0.8284 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1593, allocations: 7.969 kB / 0.8284 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1593, allocations: 0 / 0.8284 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1596, allocations: 191.3 kB / 0.8286 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.1596, allocations: 11.91 kB / 0.8286 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1597, allocations: 7.938 kB / 0.8286 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.1597, allocations: 8.016 kB / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1598, allocations: 7.984 kB / 0.8286 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1598, allocations: 0 / 0.8286 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001774/0.16, allocations: 185.2 kB / 0.8288 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.8288 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002609/0.1602, allocations: 39.92 kB / 0.8289 GB, free: 11.36 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.000172/0.1604, allocations: 115.2 kB / 0.829 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1606, allocations: 59.89 kB / 0.829 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1606, allocations: 0 / 0.829 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.1607, allocations: 15.98 kB / 0.829 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1612, allocations: 53.52 kB / 0.8291 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.1617, allocations: 326.5 kB / 0.8294 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.162, allocations: 0.7314 MB / 0.8301 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.1621, allocations: 11.75 kB / 0.8301 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1621, allocations: 11.38 kB / 0.8301 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1621, allocations: 4 kB / 0.8301 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of Templates: time 0.00491/0.167, allocations: 1.785 MB / 0.8319 GB, free: 8.238 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.893588971346617] Failed to read output from testmodel.py, exit status != 0: 0.17392871994525194 0.187987242 0.030279452000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f61b14a97b0>