Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001545/0.001545, allocations: 102.1 kB / 19.7 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.474/1.474, allocations: 230.6 MB / 253.4 MB, free: 8.238 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.001622/0.001622, allocations: 213.5 kB / 310 MB, free: 3.117 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.04084/0.04084, allocations: 8.907 MB / 375.3 MB, free: 1.875 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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [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.002504/0.002504, allocations: 87.88 kB / 0.4904 GB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3445, allocations: 55.61 MB / 0.5447 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002292/0.3468, allocations: 1.268 MB / 0.546 GB, free: 26.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3485, allocations: 1.259 MB / 0.5472 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.3485, allocations: 0 / 0.5472 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.349, allocations: 76.09 kB / 0.5473 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.3499, allocations: 428.9 kB / 0.5477 GB, free: 25.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.3499, allocations: 0 / 0.5477 GB, free: 25.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.3512, allocations: 1.04 MB / 0.5487 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.3512, allocations: 11.09 kB / 0.5487 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.3513, allocations: 9.656 kB / 0.5487 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.3513, allocations: 13.59 kB / 0.5487 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.3513, allocations: 0 / 0.5487 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3514, allocations: 56.7 kB / 0.5488 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.3515, allocations: 24.55 kB / 0.5488 GB, free: 24.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3515, allocations: 19 kB / 0.5488 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3517, allocations: 79.5 kB / 0.5489 GB, free: 24.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3517, allocations: 0 / 0.5489 GB, free: 24.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3517, allocations: 0 / 0.5489 GB, free: 24.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3517, allocations: 0 / 0.5489 GB, free: 24.77 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.000319/0.352, allocations: 314.3 kB / 0.5492 GB, free: 24.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3521, allocations: 10 kB / 0.5492 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.3524, allocations: 113.1 kB / 0.5493 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.3528, allocations: 319.3 kB / 0.5496 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3528, allocations: 154.9 kB / 0.5498 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3529, allocations: 162.2 kB / 0.5499 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.204e-05/0.3529, allocations: 113.2 kB / 0.55 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3529, allocations: 75.28 kB / 0.5501 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.353, allocations: 154.5 kB / 0.5503 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.353, allocations: 150.6 kB / 0.5504 GB, free: 23.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.353, allocations: 154.6 kB / 0.5505 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3532, allocations: 436.5 kB / 0.551 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.3533, allocations: 169.1 kB / 0.5511 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.3533, allocations: 84.14 kB / 0.5512 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3533, allocations: 79.28 kB / 0.5513 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3533, allocations: 113 kB / 0.5514 GB, free: 22.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3533, allocations: 0 / 0.5514 GB, free: 22.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.211e-05/0.3534, allocations: 40.38 kB / 0.5514 GB, free: 22.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3534, allocations: 126.7 kB / 0.5515 GB, free: 22.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3536, allocations: 166.1 kB / 0.5517 GB, free: 21.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.3536, allocations: 25.7 kB / 0.5517 GB, free: 21.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3536, allocations: 109.2 kB / 0.5518 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.3536, allocations: 0 / 0.5518 GB, free: 21.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.3536, allocations: 13.66 kB / 0.5518 GB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.3537, allocations: 321.3 kB / 0.5522 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.3537, allocations: 0 / 0.5522 GB, free: 21.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.3537, allocations: 0 / 0.5522 GB, free: 21.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.423e-05/0.3537, allocations: 75.28 kB / 0.5522 GB, free: 21.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.3537, allocations: 78.56 kB / 0.5523 GB, free: 21.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.891e-05/0.3538, allocations: 40.03 kB / 0.5523 GB, free: 21.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3538, allocations: 85.72 kB / 0.5524 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3538, allocations: 83.16 kB / 0.5525 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.3538, allocations: 157.3 kB / 0.5526 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.169e-05/0.3539, allocations: 75.28 kB / 0.5527 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.3539, allocations: 158.5 kB / 0.5529 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.3539, allocations: 85.42 kB / 0.553 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3539, allocations: 79.22 kB / 0.553 GB, free: 20.6 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.53e-05/0.354, allocations: 270 kB / 0.5533 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.3541, allocations: 114.9 kB / 0.5534 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.3541, allocations: 123.9 kB / 0.5535 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.3541, allocations: 184.2 kB / 0.5537 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.3541, allocations: 179.3 kB / 0.5539 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.3542, allocations: 180.2 kB / 0.554 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3543, allocations: 391.2 kB / 0.5544 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.3543, allocations: 108.2 kB / 0.5545 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.3544, allocations: 108.1 kB / 0.5546 GB, free: 18.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/0.3544, allocations: 188.2 kB / 0.5548 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.3544, allocations: 180.2 kB / 0.555 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-05/0.3544, allocations: 179.7 kB / 0.5551 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-05/0.3545, allocations: 183.7 kB / 0.5553 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.3545, allocations: 310 kB / 0.5556 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.3546, allocations: 119.2 kB / 0.5557 GB, free: 17.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.3546, allocations: 183.4 kB / 0.5559 GB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.3547, allocations: 104.9 kB / 0.556 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3547, allocations: 180.3 kB / 0.5562 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3547, allocations: 105.5 kB / 0.5563 GB, free: 17.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.3548, allocations: 133.3 kB / 0.5564 GB, free: 17.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3548, allocations: 0 / 0.5564 GB, free: 17.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.355, allocations: 3.094 kB / 0.5564 GB, free: 17.06 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 0.0001145/0.3551, allocations: 178 kB / 0.5566 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.804e-05/0.3552, allocations: 0 / 0.5566 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3552, allocations: 0 / 0.5566 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3552, allocations: 0 / 0.5566 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3556, allocations: 469.4 kB / 0.557 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.356, allocations: 275.3 kB / 0.5573 GB, free: 16.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3561, allocations: 0.6975 MB / 0.558 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3562, allocations: 7.438 kB / 0.558 GB, free: 15.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3562, allocations: 0 / 0.558 GB, free: 15.49 MB / 382.1 MB Notification: Performance of Templates: time 0.002605/0.3588, allocations: 0.865 MB / 0.5588 GB, free: 15.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.589084760053083] Failed to read output from testmodel.py, exit status != 0: 0.36728385812602937 0.37829057800000004 0.023792796 Calling exit ...