Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.001434/0.001434, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.461/1.461, allocations: 230.6 MB / 253.4 MB, free: 8.297 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.00296/0.00296, allocations: 215 kB / 310 MB, free: 3.145 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.05471/0.05471, allocations: 8.907 MB / 375.3 MB, free: 1.898 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.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [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.002585/0.002585, allocations: 91.88 kB / 0.4904 GB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3419, allocations: 55.61 MB / 0.5447 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002067/0.344, allocations: 1.261 MB / 0.546 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3457, allocations: 1.26 MB / 0.5472 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.3457, allocations: 0 / 0.5472 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.3461, allocations: 80.34 kB / 0.5473 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.347, allocations: 422.9 kB / 0.5477 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.347, allocations: 0 / 0.5477 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3484, allocations: 1.053 MB / 0.5487 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.3484, allocations: 0 / 0.5487 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.3484, allocations: 14.23 kB / 0.5487 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.3485, allocations: 13.39 kB / 0.5487 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3485, allocations: 0 / 0.5487 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3486, allocations: 52.3 kB / 0.5488 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.3487, allocations: 28.98 kB / 0.5488 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3487, allocations: 25.94 kB / 0.5488 GB, free: 24.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3489, allocations: 80.16 kB / 0.5489 GB, free: 24.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3489, allocations: 0 / 0.5489 GB, free: 24.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3489, allocations: 0 / 0.5489 GB, free: 24.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3489, allocations: 0 / 0.5489 GB, free: 24.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003172/0.3492, allocations: 313.6 kB / 0.5492 GB, free: 24.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3492, allocations: 9.375 kB / 0.5492 GB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.3496, allocations: 107.5 kB / 0.5493 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.35, allocations: 321.4 kB / 0.5496 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.3501, allocations: 150.9 kB / 0.5498 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3501, allocations: 150.9 kB / 0.5499 GB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.294e-05/0.3502, allocations: 120.2 kB / 0.55 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3502, allocations: 79.28 kB / 0.5501 GB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3502, allocations: 154.5 kB / 0.5502 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3502, allocations: 158.5 kB / 0.5504 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.3503, allocations: 150.6 kB / 0.5505 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.3505, allocations: 434.4 kB / 0.551 GB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.3505, allocations: 173.1 kB / 0.5511 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.3505, allocations: 80.14 kB / 0.5512 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3505, allocations: 81.23 kB / 0.5513 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3506, allocations: 113.8 kB / 0.5514 GB, free: 22.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.3506, allocations: 0 / 0.5514 GB, free: 22.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.309e-05/0.3507, allocations: 43.2 kB / 0.5514 GB, free: 22.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3507, allocations: 126.7 kB / 0.5515 GB, free: 22.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3508, allocations: 169 kB / 0.5517 GB, free: 21.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3508, allocations: 25.7 kB / 0.5517 GB, free: 21.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.3509, allocations: 103.1 kB / 0.5518 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.3509, allocations: 0 / 0.5518 GB, free: 21.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.3509, allocations: 15.81 kB / 0.5518 GB, free: 21.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.3509, allocations: 321.3 kB / 0.5521 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.351, allocations: 4 kB / 0.5522 GB, free: 21.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/0.351, allocations: 0 / 0.5522 GB, free: 21.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.47e-05/0.351, allocations: 75.28 kB / 0.5522 GB, free: 21.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.351, allocations: 75.28 kB / 0.5523 GB, free: 21.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.846e-05/0.351, allocations: 35.53 kB / 0.5523 GB, free: 21.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3511, allocations: 85.09 kB / 0.5524 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3511, allocations: 79.22 kB / 0.5525 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/0.3511, allocations: 157.5 kB / 0.5526 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.3511, allocations: 78.8 kB / 0.5527 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/0.3511, allocations: 158.5 kB / 0.5529 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3512, allocations: 78.25 kB / 0.5529 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3512, allocations: 79.22 kB / 0.553 GB, free: 20.62 MB / 382.1 MB 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 (0): * Single equations (assignments): 0 * 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 7.993e-05/0.3513, allocations: 269.5 kB / 0.5533 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3513, allocations: 118.8 kB / 0.5534 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.3514, allocations: 118.2 kB / 0.5535 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.3514, allocations: 188.2 kB / 0.5537 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/0.3514, allocations: 176.3 kB / 0.5538 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.3515, allocations: 186.8 kB / 0.554 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3516, allocations: 392.1 kB / 0.5544 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.3516, allocations: 111.8 kB / 0.5545 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.3516, allocations: 104.9 kB / 0.5546 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.274e-05/0.3517, allocations: 180.2 kB / 0.5548 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.3517, allocations: 190.4 kB / 0.555 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.847e-05/0.3517, allocations: 180.2 kB / 0.5551 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-05/0.3518, allocations: 184.2 kB / 0.5553 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.535e-05/0.3519, allocations: 311.9 kB / 0.5556 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.3519, allocations: 115.9 kB / 0.5557 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.3519, allocations: 176.3 kB / 0.5559 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.352, allocations: 115.3 kB / 0.556 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.352, allocations: 180.3 kB / 0.5562 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.352, allocations: 101 kB / 0.5563 GB, free: 17.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.999e-05/0.3521, allocations: 126.5 kB / 0.5564 GB, free: 17.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3521, allocations: 0 / 0.5564 GB, free: 17.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3524, allocations: 3.25 kB / 0.5564 GB, free: 17.09 MB / 382.1 MB 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 (0): * Single equations (assignments): 0 * 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 9.64e-05/0.3525, allocations: 178.6 kB / 0.5566 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.968e-05/0.3525, allocations: 4.484 kB / 0.5566 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3525, allocations: 0 / 0.5566 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3525, allocations: 3.281 kB / 0.5566 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3529, allocations: 466.4 kB / 0.557 GB, free: 16.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.3532, allocations: 278.5 kB / 0.5573 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3534, allocations: 0.6982 MB / 0.558 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.3534, allocations: 7.438 kB / 0.558 GB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3534, allocations: 3.938 kB / 0.558 GB, free: 15.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002397/0.3558, allocations: 0.8524 MB / 0.5588 GB, free: 15.44 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8070417020935565] Failed to read output from testmodel.py, exit status != 0: 0.3639695290476084 0.37527950000000004 0.023419146000000002 Calling exit ...