Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.001225/0.001225, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.000991/0.000991, allocations: 168.9 kB / 23.02 MB, free: 1.574 MB / 18.57 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 0.9423/0.9423, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.001879/0.001879, allocations: 241.9 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.8276/0.8276, allocations: 138.4 MB / 455.2 MB, free: 1.551 MB / 362.7 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.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.629e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002287/0.002313, allocations: 1.907 MB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.003282, allocations: 0.7401 MB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.00337, allocations: 4 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.003595, allocations: 31.78 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.003763, allocations: 67.53 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.004005, allocations: 75.77 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.004289, allocations: 283.1 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004392, allocations: 37.27 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.004585, allocations: 143.8 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.004729, allocations: 95.81 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.00476, allocations: 16 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.004812, allocations: 20 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.004868, allocations: 63.83 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.004941, allocations: 79.83 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.005172, allocations: 191.3 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005175, allocations: 3.984 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005176, allocations: 0 / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.00518, allocations: 0 / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005988/0.005779, allocations: 0.5561 MB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005814, allocations: 8.75 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.005947, allocations: 40.78 kB / 0.5593 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.006137, allocations: 168.3 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.00615, allocations: 8.375 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.006184, allocations: 16.38 kB / 0.5595 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.006387, allocations: 154.4 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006395, allocations: 4.188 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006409, allocations: 4.375 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.006418, allocations: 7.938 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.006496, allocations: 48.61 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.007134, allocations: 0.7441 MB / 0.5604 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.007492, allocations: 135 kB / 0.5606 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.007535, allocations: 31.66 kB / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.007553, allocations: 4 kB / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.007572, allocations: 33.39 kB / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.007573, allocations: 0 / 0.5606 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002253/0.007798, allocations: 113.4 kB / 0.5607 GB, free: 10.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.007822, allocations: 51.41 kB / 0.5608 GB, free: 10.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.00797, allocations: 273.4 kB / 0.5611 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.007988, allocations: 33.69 kB / 0.5611 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.008066, allocations: 191.1 kB / 0.5613 GB, free: 9.988 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.008091, allocations: 35.73 kB / 0.5613 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.00816, allocations: 71.3 kB / 0.5614 GB, free: 9.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.008282, allocations: 0.5001 MB / 0.5619 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.008444, allocations: 153.6 kB / 0.562 GB, free: 9.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.008604, allocations: 219.8 kB / 0.5622 GB, free: 8.961 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.008956, allocations: 435.2 kB / 0.5626 GB, free: 8.496 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.00896, allocations: 0 / 0.5626 GB, free: 8.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003859/0.009345, allocations: 448.7 kB / 0.5631 GB, free: 8.039 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.00939, allocations: 57.61 kB / 0.5631 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.009395, allocations: 4 kB / 0.5631 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.00941, allocations: 0 / 0.5631 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.009535, allocations: 47.91 kB / 0.5632 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009541, allocations: 4 kB / 0.5632 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.009628, allocations: 35.73 kB / 0.5632 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.009646, allocations: 12 kB / 0.5632 GB, free: 7.875 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0001436/0.00979, allocations: 189.6 kB / 0.5634 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.009818, allocations: 23.84 kB / 0.5634 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.009852, allocations: 21.47 kB / 0.5634 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009853, allocations: 3.938 kB / 0.5634 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.009859, allocations: 3.984 kB / 0.5634 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.009862, allocations: 0 / 0.5634 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.009997, allocations: 168.6 kB / 0.5636 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009999, allocations: 4 kB / 0.5636 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01012, allocations: 39.97 kB / 0.5636 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01012, allocations: 0 / 0.5636 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.01014, allocations: 7.938 kB / 0.5637 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01014, allocations: 4 kB / 0.5637 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01014, allocations: 0 / 0.5637 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.01036, allocations: 259.8 kB / 0.5639 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01038, allocations: 15.89 kB / 0.5639 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.0104, allocations: 15.81 kB / 0.5639 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.01045, allocations: 4 kB / 0.5639 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01048, allocations: 3.984 kB / 0.5639 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.01049, allocations: 4 kB / 0.5639 GB, free: 7.062 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.01056, allocations: 176.1 kB / 0.5641 GB, free: 6.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 0.5641 GB, free: 6.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01076, allocations: 63.94 kB / 0.5642 GB, free: 6.828 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * Single equations (assignments): 8 * 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 7.284e-05/0.01083, allocations: 95.25 kB / 0.5643 GB, free: 6.727 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.01115, allocations: 328.6 kB / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01115, allocations: 0 / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.0112, allocations: 39.61 kB / 0.5646 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.01141, allocations: 20.3 kB / 0.5646 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.01237, allocations: 0.5418 MB / 0.5652 GB, free: 5.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.989e-05/0.01242, allocations: 79.81 kB / 0.5652 GB, free: 5.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.01248, allocations: 36.86 kB / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.01253, allocations: 12.5 kB / 0.5653 GB, free: 5.594 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01253, allocations: 0 / 0.5653 GB, free: 5.594 MB / 490.7 MB Notification: Performance of Templates: time 0.003822/0.01635, allocations: 2.35 MB / 0.5676 GB, free: 3.293 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.933565524406731]