Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.001525/0.001525, 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.001681/0.001681, allocations: 217.6 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002403/0.002403, allocations: 281.2 kB / 313.5 MB, free: 2.859 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.16/1.16, allocations: 180.6 MB / 0.5377 GB, free: 13 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.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") [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.002776/0.002776, allocations: 100.5 kB / 0.7408 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1634, allocations: 95.38 MB / 0.8339 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002387/0.1658, allocations: 1.277 MB / 0.8352 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.167, allocations: 0.7771 MB / 0.8359 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1671, allocations: 0 / 0.8359 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.1671, allocations: 7.938 kB / 0.8359 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.1671, allocations: 0 / 0.8359 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1675, allocations: 135.6 kB / 0.8361 GB, free: 6 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.1676, allocations: 23.92 kB / 0.8361 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1676, allocations: 8 kB / 0.8361 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1678, allocations: 19.92 kB / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.1678, allocations: 15.92 kB / 0.8361 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1678, allocations: 4 kB / 0.8361 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.1681, allocations: 171.8 kB / 0.8363 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1681, allocations: 3.984 kB / 0.8363 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.1682, allocations: 11.94 kB / 0.8363 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1684, allocations: 107.7 kB / 0.8364 GB, free: 5.641 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1684, allocations: 4 kB / 0.8364 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1684, allocations: 0 / 0.8364 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1684, allocations: 0 / 0.8364 GB, free: 5.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003928/0.1688, allocations: 282 kB / 0.8367 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1688, allocations: 9.344 kB / 0.8367 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.007e-05/0.1689, allocations: 4.938 kB / 0.8367 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.169, allocations: 106.5 kB / 0.8368 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.169, allocations: 4.375 kB / 0.8368 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.169, allocations: 4.375 kB / 0.8368 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1691, allocations: 53.94 kB / 0.8369 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1692, allocations: 0 / 0.8369 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1692, allocations: 0 / 0.8369 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1692, allocations: 0 / 0.8369 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.1692, allocations: 27.97 kB / 0.8369 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1694, allocations: 128.8 kB / 0.837 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.1695, allocations: 34.56 kB / 0.837 GB, free: 4.887 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1695, allocations: 16.98 kB / 0.8371 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.1698, allocations: 39.95 kB / 0.8371 GB, free: 4.828 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1698, allocations: 42.38 kB / 0.8371 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1698, allocations: 0 / 0.8371 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5): time 0.0001775/0.17, allocations: 65.69 kB / 0.8372 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1701, allocations: 55.39 kB / 0.8373 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.1701, allocations: 89.86 kB / 0.8373 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1702, allocations: 33.83 kB / 0.8374 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1702, allocations: 80.14 kB / 0.8375 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1702, allocations: 15.84 kB / 0.8375 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1703, allocations: 21.7 kB / 0.8375 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1704, allocations: 314.8 kB / 0.8378 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1704, allocations: 4 kB / 0.8378 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.1704, allocations: 15.92 kB / 0.8378 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.1705, allocations: 20.86 kB / 0.8378 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1705, allocations: 384 / 0.8378 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.529e-05/0.1706, allocations: 69.64 kB / 0.8379 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1706, allocations: 9.969 kB / 0.8379 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1706, allocations: 3.938 kB / 0.8379 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1706, allocations: 4 kB / 0.8379 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.1707, allocations: 4 kB / 0.8379 GB, free: 3.926 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1707, allocations: 4 kB / 0.8379 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.1707, allocations: 0 / 0.8379 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1707, allocations: 3.984 kB / 0.8379 GB, free: 3.918 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 (5): * Single equations (assignments): 5 * 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.463e-05/0.1708, allocations: 118.4 kB / 0.838 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.1708, allocations: 7.938 kB / 0.838 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.171, allocations: 77.36 kB / 0.8381 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.171, allocations: 4 kB / 0.8381 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.171, allocations: 0 / 0.8381 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.171, allocations: 0 / 0.8381 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1711, allocations: 132.7 kB / 0.8382 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1711, allocations: 0 / 0.8382 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.1711, allocations: 8 kB / 0.8383 GB, free: 3.516 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1711, allocations: 15.86 kB / 0.8383 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1712, allocations: 4 kB / 0.8383 GB, free: 3.496 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1712, allocations: 4 kB / 0.8383 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1712, allocations: 0 / 0.8383 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.1713, allocations: 77.12 kB / 0.8384 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.1713, allocations: 11.88 kB / 0.8384 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1713, allocations: 0 / 0.8384 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.1713, allocations: 4 kB / 0.8384 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1713, allocations: 15.97 kB / 0.8384 GB, free: 3.367 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1713, allocations: 192 / 0.8384 GB, free: 3.367 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.1714, allocations: 79.28 kB / 0.8385 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1714, allocations: 0 / 0.8385 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002332/0.1716, allocations: 35.92 kB / 0.8385 GB, free: 3.254 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 (6): * Single equations (assignments): 6 * 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.0002288/0.1718, allocations: 139 kB / 0.8386 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 9.987e-05/0.1719, allocations: 31.94 kB / 0.8387 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1719, allocations: 96 / 0.8387 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.172, allocations: 19.98 kB / 0.8387 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1721, allocations: 4 kB / 0.8387 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.1724, allocations: 148.6 kB / 0.8388 GB, free: 2.875 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1727, allocations: 0.6807 MB / 0.8395 GB, free: 2.168 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.1727, allocations: 11.44 kB / 0.8395 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of SimCode: time 3.31e-07/0.1727, allocations: 0 / 0.8395 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of Templates: time 0.002877/0.1756, allocations: 1.278 MB / 0.8407 GB, free: 0.8789 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.813606462907046] Failed to read output from testmodel.py, exit status != 0: 0.18276735302060843 0.19738513399999996 0.02611575399999994 Calling exit ...