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.001348/0.001348, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001557/0.001557, allocations: 173.4 kB / 22.46 MB, free: 5.355 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.002589/0.002589, allocations: 243.8 kB / 259.4 MB, free: 476 kB / 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.089/1.089, allocations: 138.4 MB / 454.3 MB, free: 2.023 MB / 366.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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6467 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.5e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002465/0.00249, allocations: 1.27 MB / 0.648 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.003935, allocations: 0.7023 MB / 0.6487 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.003966, allocations: 0 / 0.6487 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.003987, allocations: 4 kB / 0.6487 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.004023, allocations: 7.875 kB / 0.6487 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.004537, allocations: 135.5 kB / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.004606, allocations: 31.8 kB / 0.6488 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.004649, allocations: 0 / 0.6488 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004801, allocations: 23.97 kB / 0.6489 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.004851, allocations: 7.984 kB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004867, allocations: 0 / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.005238, allocations: 163.8 kB / 0.649 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.005257, allocations: 11.94 kB / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.005281, allocations: 7.984 kB / 0.6491 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.005574, allocations: 139.6 kB / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005576, allocations: 0 / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005576, allocations: 0 / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005581, allocations: 0 / 0.6492 GB, free: 2.562 MB / 0.5606 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.0004506/0.006031, allocations: 274.1 kB / 0.6494 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001685/0.0062, allocations: 9.344 kB / 0.6495 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.006298, allocations: 4.938 kB / 0.6495 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.006432, allocations: 121.7 kB / 0.6496 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.006444, allocations: 4.375 kB / 0.6496 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.006458, allocations: 384 / 0.6496 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.006573, allocations: 42.25 kB / 0.6496 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.006582, allocations: 192 / 0.6496 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.006591, allocations: 384 / 0.6496 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.006603, allocations: 7.938 kB / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.006668, allocations: 19.98 kB / 0.6497 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.006849, allocations: 105.3 kB / 0.6498 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.006931, allocations: 42.56 kB / 0.6498 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.006959, allocations: 8.984 kB / 0.6498 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.007279, allocations: 39.97 kB / 0.6498 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-05/0.00737, allocations: 30.56 kB / 0.6499 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.007371, allocations: 0 / 0.6499 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001987/0.00757, allocations: 61.69 kB / 0.6499 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.007612, allocations: 59.28 kB / 0.65 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.007699, allocations: 101.8 kB / 0.6501 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.007717, allocations: 25.7 kB / 0.6501 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.007754, allocations: 80.14 kB / 0.6502 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.007788, allocations: 27.92 kB / 0.6502 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.007821, allocations: 13.72 kB / 0.6502 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.007972, allocations: 318.8 kB / 0.6505 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.007992, allocations: 4 kB / 0.6505 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.008014, allocations: 12 kB / 0.6505 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.008081, allocations: 29.16 kB / 0.6506 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008083, allocations: 0 / 0.6506 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.008186, allocations: 53.7 kB / 0.6506 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.008207, allocations: 15.92 kB / 0.6506 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.008214, allocations: 3.984 kB / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.008231, allocations: 0 / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.008302, allocations: 15.94 kB / 0.6507 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.008309, allocations: 3.938 kB / 0.6507 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.008329, allocations: 0 / 0.6507 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.008338, allocations: 4 kB / 0.6507 GB, free: 0.8828 MB / 0.5606 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 9.046e-05/0.008428, allocations: 109.8 kB / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.008441, allocations: 4 kB / 0.6508 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.008622, allocations: 77.44 kB / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008624, allocations: 0 / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.008632, allocations: 11.92 kB / 0.6509 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008635, allocations: 3.938 kB / 0.6509 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.008749, allocations: 105.3 kB / 0.651 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008751, allocations: 0 / 0.651 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.008797, allocations: 8 kB / 0.651 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.008803, allocations: 7.984 kB / 0.651 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.008811, allocations: 0 / 0.651 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008812, allocations: 0 / 0.651 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008813, allocations: 3.938 kB / 0.651 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.008953, allocations: 89.06 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.008962, allocations: 3.953 kB / 0.6511 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008977, allocations: 8 kB / 0.6511 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.008995, allocations: 192 / 0.6511 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.009021, allocations: 7.922 kB / 0.6511 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.009031, allocations: 11.94 kB / 0.6511 GB, free: 384 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.00908, allocations: 75.28 kB / 0.6512 GB, free: 308 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.00908, allocations: 0 / 0.6512 GB, free: 308 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002528/0.009333, allocations: 43.86 kB / 0.6512 GB, free: 264 kB / 0.5606 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.0002684/0.009601, allocations: 143.1 kB / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009709, allocations: 23.98 kB / 0.6514 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009711, allocations: 4.094 kB / 0.6514 GB, free: 80 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.009744, allocations: 23.88 kB / 0.6514 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.009884, allocations: 0 / 0.6514 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/0.2558, allocations: 112.8 kB / 0.6515 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.2559, allocations: 67.98 kB / 0.6516 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.2559, allocations: 7.156 kB / 0.6516 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.256, allocations: 13.64 kB / 0.6516 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.256, allocations: 0 / 0.6516 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.003797/0.2598, allocations: 1.396 MB / 0.6529 GB, free: 56.76 MB / 0.5606 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: 5.893458511680365] Failed to read output from testmodel.py, exit status != 0: 0.2674757279455662 0.276447908 0.268670089 Calling exit ...