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.001461/0.001461, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.517/1.517, allocations: 230.6 MB / 252.6 MB, free: 8.301 MB / 206.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.001739/0.001739, allocations: 216.5 kB / 309.2 MB, free: 3.191 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.04199/0.04199, allocations: 8.915 MB / 374.6 MB, free: 1.945 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002538/0.002538, allocations: 79.88 kB / 0.4897 GB, free: 6.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3642, allocations: 55.6 MB / 0.544 GB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002885/0.3671, allocations: 1.75 MB / 0.5457 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.3674, allocations: 102.4 kB / 0.5458 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.3674, allocations: 3.031 kB / 0.5458 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.725e-05/0.3675, allocations: 17.78 kB / 0.5458 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.3676, allocations: 30.02 kB / 0.5458 GB, free: 25.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.3677, allocations: 22.02 kB / 0.5458 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3679, allocations: 118.3 kB / 0.546 GB, free: 25.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.368, allocations: 35.67 kB / 0.546 GB, free: 25.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.3681, allocations: 45 kB / 0.546 GB, free: 25.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.3682, allocations: 46.34 kB / 0.5461 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3682, allocations: 9.594 kB / 0.5461 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.172e-05/0.3682, allocations: 13.38 kB / 0.5461 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3682, allocations: 19.36 kB / 0.5461 GB, free: 25.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.3683, allocations: 49.41 kB / 0.5462 GB, free: 25.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.3685, allocations: 117 kB / 0.5463 GB, free: 25.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3685, allocations: 3.156 kB / 0.5463 GB, free: 25.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3685, allocations: 0 / 0.5463 GB, free: 25.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3685, allocations: 0 / 0.5463 GB, free: 25.5 MB / 382.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.0004712/0.3689, allocations: 322.5 kB / 0.5466 GB, free: 25.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.369, allocations: 9.594 kB / 0.5466 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.369, allocations: 8.078 kB / 0.5466 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.3691, allocations: 120 kB / 0.5467 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3691, allocations: 7.594 kB / 0.5467 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.3692, allocations: 10.81 kB / 0.5467 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3694, allocations: 91.66 kB / 0.5468 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3694, allocations: 192 / 0.5468 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3694, allocations: 7.938 kB / 0.5468 GB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3694, allocations: 7.094 kB / 0.5468 GB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3695, allocations: 54.83 kB / 0.5469 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.3702, allocations: 474.7 kB / 0.5473 GB, free: 24.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3704, allocations: 89.91 kB / 0.5474 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.3705, allocations: 36.12 kB / 0.5475 GB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3705, allocations: 4 kB / 0.5475 GB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3705, allocations: 37.84 kB / 0.5475 GB, free: 24.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3705, allocations: 0 / 0.5475 GB, free: 24.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005137/0.371, allocations: 149.2 kB / 0.5476 GB, free: 24.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.371, allocations: 58.47 kB / 0.5477 GB, free: 24.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.3711, allocations: 109.8 kB / 0.5478 GB, free: 24.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3711, allocations: 30.08 kB / 0.5478 GB, free: 24.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3712, allocations: 102.8 kB / 0.5479 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3712, allocations: 33.39 kB / 0.548 GB, free: 24.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3712, allocations: 20.48 kB / 0.548 GB, free: 24.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.3713, allocations: 322 kB / 0.5483 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.3713, allocations: 20.64 kB / 0.5483 GB, free: 23.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.3713, allocations: 36.98 kB / 0.5483 GB, free: 23.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.3714, allocations: 55.12 kB / 0.5484 GB, free: 23.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3714, allocations: 0 / 0.5484 GB, free: 23.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.3716, allocations: 111.1 kB / 0.5485 GB, free: 23.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3716, allocations: 9.375 kB / 0.5485 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3716, allocations: 3.938 kB / 0.5485 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.3718, allocations: 27.81 kB / 0.5485 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.3719, allocations: 15.59 kB / 0.5486 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009841/0.3729, allocations: 1.322 MB / 0.5498 GB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3729, allocations: 14.48 kB / 0.5499 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3729, allocations: 2.812 kB / 0.5499 GB, free: 22.21 MB / 382.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 0.0001006/0.373, allocations: 116.3 kB / 0.55 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3731, allocations: 9.156 kB / 0.55 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3731, allocations: 16.44 kB / 0.55 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3731, allocations: 2.781 kB / 0.55 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3731, allocations: 0 / 0.55 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3731, allocations: 0 / 0.55 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3733, allocations: 170.1 kB / 0.5502 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3733, allocations: 3.281 kB / 0.5502 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.3733, allocations: 12.41 kB / 0.5502 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.201e-05/0.3734, allocations: 31.95 kB / 0.5502 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3735, allocations: 7 kB / 0.5502 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007893/0.3742, allocations: 1.326 MB / 0.5515 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3742, allocations: 0 / 0.5515 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3745, allocations: 224.5 kB / 0.5517 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.3745, allocations: 14.7 kB / 0.5517 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3745, allocations: 0 / 0.5517 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/0.3746, allocations: 3.938 kB / 0.5517 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3746, allocations: 6.094 kB / 0.5518 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3746, allocations: 6.844 kB / 0.5518 GB, free: 20.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.3747, allocations: 100.1 kB / 0.5519 GB, free: 20.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3747, allocations: 0 / 0.5519 GB, free: 20.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3749, allocations: 23.06 kB / 0.5519 GB, free: 20.28 MB / 382.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 0.0001018/0.3751, allocations: 103.5 kB / 0.552 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3754, allocations: 170.2 kB / 0.5521 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3754, allocations: 0 / 0.5521 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3755, allocations: 147.5 kB / 0.5523 GB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.376, allocations: 13.98 kB / 0.5523 GB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.3766, allocations: 297.2 kB / 0.5526 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.3768, allocations: 0.698 MB / 0.5533 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.3769, allocations: 4.297 kB / 0.5533 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.3769, allocations: 14.69 kB / 0.5533 GB, free: 18.99 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3769, allocations: 0 / 0.5533 GB, free: 18.99 MB / 382.1 MB Notification: Performance of Templates: time 0.004433/0.3813, allocations: 1.182 MB / 0.5544 GB, free: 18.88 MB / 382.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: 5.208626657957211] Failed to read output from testmodel.py, exit status != 0: 0.39132468309253454 0.40728925899999996 0.035453488000000005 Calling exit ...