Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001683/0.001683, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.793 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.002779/0.002779, allocations: 293.5 kB / 312.7 MB, free: 2.602 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.303/1.303, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [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.003065/0.003065, allocations: 106.2 kB / 0.74 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.168, allocations: 95.38 MB / 0.8331 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002982/0.171, allocations: 1.7 MB / 0.8348 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.000794/0.1718, allocations: 466.1 kB / 0.8352 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.1719, allocations: 0 / 0.8352 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.1723, allocations: 131.5 kB / 0.8353 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.1724, allocations: 63.67 kB / 0.8354 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1727, allocations: 67.78 kB / 0.8355 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1728, allocations: 103.4 kB / 0.8356 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1728, allocations: 7.938 kB / 0.8356 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.1729, allocations: 31.84 kB / 0.8356 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.173, allocations: 55.75 kB / 0.8357 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.173, allocations: 4 kB / 0.8357 GB, free: 5.219 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1732, allocations: 71.86 kB / 0.8357 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1733, allocations: 59.8 kB / 0.8358 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1733, allocations: 51.67 kB / 0.8358 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1736, allocations: 195.1 kB / 0.836 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1736, allocations: 0 / 0.836 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1736, allocations: 0 / 0.836 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1736, allocations: 0 / 0.836 GB, free: 4.848 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.0005909/0.1742, allocations: 413 kB / 0.8364 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1743, allocations: 9.344 kB / 0.8364 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1743, allocations: 20.8 kB / 0.8365 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1745, allocations: 161.6 kB / 0.8366 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1745, allocations: 4.375 kB / 0.8366 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1745, allocations: 4.375 kB / 0.8366 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1747, allocations: 66.22 kB / 0.8367 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1747, allocations: 3.938 kB / 0.8367 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.1747, allocations: 0 / 0.8367 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1747, allocations: 0 / 0.8367 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.1749, allocations: 59.95 kB / 0.8367 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1753, allocations: 268.6 kB / 0.837 GB, free: 3.773 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1755, allocations: 70.48 kB / 0.8371 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1756, allocations: 40.83 kB / 0.8371 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.1757, allocations: 4 kB / 0.8371 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1757, allocations: 38.56 kB / 0.8371 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1757, allocations: 0 / 0.8371 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003974/0.1761, allocations: 133.5 kB / 0.8373 GB, free: 3.465 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1761, allocations: 59.45 kB / 0.8373 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1764, allocations: 253.9 kB / 0.8376 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1764, allocations: 29.64 kB / 0.8376 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1765, allocations: 136.1 kB / 0.8377 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1765, allocations: 11.89 kB / 0.8377 GB, free: 2.949 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1766, allocations: 17.66 kB / 0.8378 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1767, allocations: 334.8 kB / 0.8381 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.1768, allocations: 23.98 kB / 0.8381 GB, free: 2.566 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.1769, allocations: 31.97 kB / 0.8381 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1771, allocations: 64.88 kB / 0.8382 GB, free: 2.469 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1771, allocations: 0 / 0.8382 GB, free: 2.469 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002545/0.1774, allocations: 117.4 kB / 0.8383 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1774, allocations: 8 kB / 0.8383 GB, free: 2.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1774, allocations: 0 / 0.8383 GB, free: 2.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1774, allocations: 0 / 0.8383 GB, free: 2.34 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1775, allocations: 8.031 kB / 0.8383 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1775, allocations: 4 kB / 0.8383 GB, free: 2.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.1775, allocations: 7.984 kB / 0.8383 GB, free: 2.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.32 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.0001226/0.1777, allocations: 134.5 kB / 0.8385 GB, free: 2.18 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1777, allocations: 19.84 kB / 0.8385 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.178, allocations: 118.6 kB / 0.8386 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.178, allocations: 0 / 0.8386 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.178, allocations: 8.031 kB / 0.8386 GB, free: 2.027 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.178, allocations: 0 / 0.8386 GB, free: 2.027 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1782, allocations: 157.3 kB / 0.8387 GB, free: 1.844 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1782, allocations: 3.938 kB / 0.8387 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1783, allocations: 19.91 kB / 0.8388 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1783, allocations: 0 / 0.8388 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1783, allocations: 0 / 0.8388 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1783, allocations: 0 / 0.8388 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1783, allocations: 0 / 0.8388 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1786, allocations: 211.4 kB / 0.839 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.1787, allocations: 19.8 kB / 0.839 GB, free: 1.578 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1787, allocations: 0 / 0.839 GB, free: 1.578 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.1788, allocations: 7.984 kB / 0.839 GB, free: 1.57 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1788, allocations: 0 / 0.839 GB, free: 1.57 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1788, allocations: 4 kB / 0.839 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000212/0.179, allocations: 189.2 kB / 0.8392 GB, free: 1.383 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.179, allocations: 0 / 0.8392 GB, free: 1.383 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002885/0.1793, allocations: 35.94 kB / 0.8392 GB, free: 1.348 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.000212/0.1795, allocations: 147 kB / 0.8394 GB, free: 1.195 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1798, allocations: 59.95 kB / 0.8394 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1798, allocations: 0 / 0.8394 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1799, allocations: 35.91 kB / 0.8394 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1803, allocations: 40.58 kB / 0.8395 GB, free: 1.062 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.1809, allocations: 338.5 kB / 0.8398 GB, free: 0.7031 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.1811, allocations: 122.8 kB / 0.8399 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.1811, allocations: 8 kB / 0.8399 GB, free: 0.5586 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.1811, allocations: 7.438 kB / 0.8399 GB, free: 0.5508 MB / 0.5763 GB Notification: Performance of SimCode: time 3.61e-07/0.1811, allocations: 0 / 0.8399 GB, free: 0.5508 MB / 0.5763 GB Notification: Performance of Templates: time 0.005685/0.1868, allocations: 2.114 MB / 0.842 GB, free: 14.5 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.392576020210981] Failed to read output from testmodel.py, exit status != 0: 0.1943756528198719 0.21151656000000002 0.034687852000000005 Calling exit ...