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.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.001238/0.001238, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001399/0.001399, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002564/0.002564, allocations: 286.8 kB / 313.5 MB, free: 2.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.176/1.176, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: 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: NcDataReader2 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: BuildingSystems 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.002803/0.002803, allocations: 99.36 kB / 0.7408 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1629, allocations: 95.39 MB / 0.8339 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003497/0.1663, allocations: 1.739 MB / 0.8356 GB, free: 6.414 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.1672, allocations: 0.5174 MB / 0.8362 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.1673, allocations: 4 kB / 0.8362 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.1677, allocations: 151.4 kB / 0.8363 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.1678, allocations: 59.73 kB / 0.8364 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1681, allocations: 63.73 kB / 0.8364 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1683, allocations: 99.5 kB / 0.8365 GB, free: 5.523 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.1683, allocations: 11.92 kB / 0.8365 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.1684, allocations: 35.86 kB / 0.8366 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1686, allocations: 55.73 kB / 0.8366 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1686, allocations: 7.938 kB / 0.8366 GB, free: 5.414 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1688, allocations: 91.83 kB / 0.8367 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.1689, allocations: 55.81 kB / 0.8368 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.169, allocations: 63.61 kB / 0.8368 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1693, allocations: 195.1 kB / 0.837 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1693, allocations: 0 / 0.837 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1693, allocations: 0 / 0.837 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1693, allocations: 3.938 kB / 0.837 GB, free: 5.012 MB / 0.5763 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.1699, allocations: 413 kB / 0.8374 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1699, allocations: 9.344 kB / 0.8374 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.17, allocations: 20.8 kB / 0.8374 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1702, allocations: 161.7 kB / 0.8376 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1702, allocations: 4.375 kB / 0.8376 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1702, allocations: 384 / 0.8376 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1704, allocations: 62.23 kB / 0.8376 GB, free: 4.301 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1704, allocations: 7.922 kB / 0.8377 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1704, allocations: 0 / 0.8377 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1704, allocations: 0 / 0.8377 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1706, allocations: 59.95 kB / 0.8377 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.1711, allocations: 299.9 kB / 0.838 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1713, allocations: 66.48 kB / 0.8381 GB, free: 3.824 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.1714, allocations: 32.89 kB / 0.8381 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1714, allocations: 8 kB / 0.8381 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1715, allocations: 38.56 kB / 0.8381 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1715, allocations: 0 / 0.8381 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003941/0.1719, allocations: 141.4 kB / 0.8383 GB, free: 3.59 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1719, allocations: 51.41 kB / 0.8383 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1722, allocations: 253.9 kB / 0.8386 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1722, allocations: 29.83 kB / 0.8386 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1723, allocations: 140 kB / 0.8387 GB, free: 3.09 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1723, allocations: 11.89 kB / 0.8387 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1724, allocations: 17.66 kB / 0.8388 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1725, allocations: 330.8 kB / 0.8391 GB, free: 2.723 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.1726, allocations: 27.98 kB / 0.8391 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.1727, allocations: 27.97 kB / 0.8391 GB, free: 2.668 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1728, allocations: 72.88 kB / 0.8392 GB, free: 2.594 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1728, allocations: 3.938 kB / 0.8392 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.1731, allocations: 109.5 kB / 0.8393 GB, free: 2.477 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1731, allocations: 4 kB / 0.8393 GB, free: 2.473 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1731, allocations: 0 / 0.8393 GB, free: 2.473 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1731, allocations: 8.016 kB / 0.8393 GB, free: 2.465 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1732, allocations: 8 kB / 0.8393 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1732, allocations: 0 / 0.8393 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1733, allocations: 7.984 kB / 0.8393 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1733, allocations: 0 / 0.8393 GB, free: 2.449 MB / 0.5763 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.0001212/0.1734, allocations: 142.4 kB / 0.8395 GB, free: 2.301 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1734, allocations: 15.91 kB / 0.8395 GB, free: 2.285 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.1737, allocations: 118.5 kB / 0.8396 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1737, allocations: 0 / 0.8396 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1737, allocations: 0 / 0.8396 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1737, allocations: 0 / 0.8396 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.174, allocations: 192.6 kB / 0.8398 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.174, allocations: 4 kB / 0.8398 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.174, allocations: 7.984 kB / 0.8398 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.174, allocations: 0 / 0.8398 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.174, allocations: 0 / 0.8398 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.174, allocations: 0 / 0.8398 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.174, allocations: 8.031 kB / 0.8398 GB, free: 1.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1743, allocations: 207.3 kB / 0.84 GB, free: 1.691 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.1744, allocations: 15.86 kB / 0.84 GB, free: 1.676 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1744, allocations: 4 kB / 0.84 GB, free: 1.672 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.1745, allocations: 4 kB / 0.84 GB, free: 1.668 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1745, allocations: 15.95 kB / 0.84 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1745, allocations: 0 / 0.84 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001869/0.1747, allocations: 189.2 kB / 0.8402 GB, free: 1.469 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1747, allocations: 3.938 kB / 0.8402 GB, free: 1.465 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002731/0.175, allocations: 35.94 kB / 0.8402 GB, free: 1.43 MB / 0.5763 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.0001912/0.1752, allocations: 127.1 kB / 0.8404 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1754, allocations: 71.94 kB / 0.8404 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1754, allocations: 0 / 0.8404 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.1755, allocations: 27.98 kB / 0.8405 GB, free: 1.199 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.176, allocations: 52.33 kB / 0.8405 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.1766, allocations: 368.4 kB / 0.8409 GB, free: 0.7539 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.177, allocations: 0.7314 MB / 0.8416 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.177, allocations: 11.44 kB / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.177, allocations: 0 / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.004052/0.1811, allocations: 1.856 MB / 0.8434 GB, free: 14.15 MB / 0.5919 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: 8.176995759131387] Failed to read output from testmodel.py, exit status != 0: 0.18863576697185636 0.204039786 0.031752486 Calling exit ...