Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.001631/0.001631, allocations: 78.97 kB / 19.18 MB, free: 2.516 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.449/1.449, allocations: 177.1 MB / 199.4 MB, free: 8.445 MB / 190.1 MB " [Timeout remaining time 178] 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.001666/0.001666, allocations: 158.5 kB / 256 MB, free: 4.352 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04033/0.04033, allocations: 6.658 MB / 319 MB, free: 5.402 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 445.9 MB, free: 25.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.962e-05, allocations: 6.219 kB / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002304/0.002333, allocations: 1.691 MB / 447.6 MB, free: 23.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.002614, allocations: 103.6 kB / 447.7 MB, free: 23.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.002671, allocations: 3.938 kB / 447.7 MB, free: 23.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.002719, allocations: 19.86 kB / 447.7 MB, free: 23.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.002799, allocations: 43.56 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.002935, allocations: 19.97 kB / 447.8 MB, free: 23.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003053, allocations: 115.3 kB / 447.9 MB, free: 23.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.003194, allocations: 31.97 kB / 447.9 MB, free: 23.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.003272, allocations: 71.86 kB / 448 MB, free: 23.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.003351, allocations: 31.91 kB / 448 MB, free: 23.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.00338, allocations: 8 kB / 448 MB, free: 23.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.003402, allocations: 8 kB / 448 MB, free: 23.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.003425, allocations: 23.92 kB / 448 MB, free: 23.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.003467, allocations: 31.98 kB / 448.1 MB, free: 23.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003599, allocations: 111.6 kB / 448.2 MB, free: 22.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003601, allocations: 0 / 448.2 MB, free: 22.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003602, allocations: 0 / 448.2 MB, free: 22.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.003606, allocations: 0 / 448.2 MB, free: 22.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004135/0.00402, allocations: 322 kB / 448.5 MB, free: 22.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.004056, allocations: 11.98 kB / 448.5 MB, free: 22.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.004091, allocations: 16.83 kB / 448.5 MB, free: 22.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.00417, allocations: 125.6 kB / 448.7 MB, free: 22.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.004186, allocations: 12.38 kB / 448.7 MB, free: 22.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.004217, allocations: 8.375 kB / 448.7 MB, free: 22.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.004392, allocations: 101.1 kB / 448.8 MB, free: 22.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.004409, allocations: 192 / 448.8 MB, free: 22.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.004422, allocations: 384 / 448.8 MB, free: 22.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.004428, allocations: 4.375 kB / 448.8 MB, free: 22.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.004536, allocations: 59.91 kB / 448.8 MB, free: 22.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.005068, allocations: 348.1 kB / 449.2 MB, free: 21.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.005292, allocations: 78.56 kB / 449.3 MB, free: 21.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.005346, allocations: 32.84 kB / 449.3 MB, free: 21.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005362, allocations: 4 kB / 449.3 MB, free: 21.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005382, allocations: 34.56 kB / 449.3 MB, free: 21.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.005383, allocations: 0 / 449.3 MB, free: 21.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.005906, allocations: 146.5 kB / 449.5 MB, free: 21.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.005931, allocations: 55.41 kB / 449.5 MB, free: 21.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.005998, allocations: 113.9 kB / 449.6 MB, free: 21.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.006007, allocations: 25.7 kB / 449.7 MB, free: 21.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.006048, allocations: 107.9 kB / 449.8 MB, free: 21.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.006066, allocations: 31.89 kB / 449.8 MB, free: 21.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.006102, allocations: 25.72 kB / 449.8 MB, free: 21.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.00615, allocations: 314.8 kB / 450.1 MB, free: 20.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.006184, allocations: 20 kB / 450.1 MB, free: 20.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.006225, allocations: 41.58 kB / 450.2 MB, free: 20.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.006294, allocations: 53.72 kB / 450.2 MB, free: 20.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.006295, allocations: 4 kB / 450.2 MB, free: 20.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.00647, allocations: 118.3 kB / 450.4 MB, free: 20.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006482, allocations: 4 kB / 450.4 MB, free: 20.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.006487, allocations: 0 / 450.4 MB, free: 20.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.006661, allocations: 24.84 kB / 450.4 MB, free: 20.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.006727, allocations: 16 kB / 450.4 MB, free: 20.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/0.007449, allocations: 1.288 MB / 451.7 MB, free: 19.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.007484, allocations: 11.91 kB / 451.7 MB, free: 19.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.00749, allocations: 4 kB / 451.7 MB, free: 19.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.007548, allocations: 121.8 kB / 451.8 MB, free: 18.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.007573, allocations: 11.88 kB / 451.8 MB, free: 18.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.007595, allocations: 12.44 kB / 451.8 MB, free: 18.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.007596, allocations: 0 / 451.8 MB, free: 18.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.007599, allocations: 0 / 451.8 MB, free: 18.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007604, allocations: 4 kB / 451.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.007727, allocations: 145.2 kB / 452 MB, free: 18.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007727, allocations: 0 / 452 MB, free: 18.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.007802, allocations: 12 kB / 452 MB, free: 18.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.007881, allocations: 25.12 kB / 452 MB, free: 18.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.00789, allocations: 0 / 452 MB, free: 18.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006477/0.008537, allocations: 1.292 MB / 453.3 MB, free: 17.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008538, allocations: 3.938 kB / 453.3 MB, free: 17.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.008754, allocations: 232.3 kB / 453.5 MB, free: 17.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.008762, allocations: 8.078 kB / 453.6 MB, free: 17.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.008773, allocations: 4.031 kB / 453.6 MB, free: 17.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.008831, allocations: 0 / 453.6 MB, free: 17.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.008858, allocations: 7.969 kB / 453.6 MB, free: 17.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.008864, allocations: 8 kB / 453.6 MB, free: 17.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.008893, allocations: 83.27 kB / 453.7 MB, free: 16.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008893, allocations: 0 / 453.7 MB, free: 16.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.009144, allocations: 35.95 kB / 453.7 MB, free: 16.94 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.65e-05/0.00923, allocations: 91.31 kB / 453.8 MB, free: 16.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.00952, allocations: 166.6 kB / 453.9 MB, free: 16.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.00953, allocations: 4 kB / 453.9 MB, free: 16.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.009648, allocations: 138.7 kB / 454.1 MB, free: 16.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.009954, allocations: 11.92 kB / 454.1 MB, free: 16.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.01045, allocations: 261 kB / 454.4 MB, free: 16.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.01051, allocations: 91.12 kB / 454.4 MB, free: 16.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.01054, allocations: 7.781 kB / 454.4 MB, free: 16.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.01056, allocations: 12.5 kB / 454.5 MB, free: 16.09 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01056, allocations: 0 / 454.5 MB, free: 16.09 MB / 334.1 MB Notification: Performance of Templates: time 0.003761/0.01432, allocations: 1.034 MB / 455.5 MB, free: 15.08 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.441864151507616] Failed to read output from testmodel.py, exit status != 0: 0.02059800922870636 0.030758231 0.024921594000000002 Calling exit ...