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.00185/0.00185, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.575/1.575, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001736/0.001736, allocations: 217.5 kB / 309.2 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.04206/0.04206, allocations: 8.924 MB / 374.6 MB, free: 1.91 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.00255/0.00255, allocations: 83.86 kB / 0.4897 GB, free: 6.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3281, allocations: 55.62 MB / 0.544 GB, free: 27.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.00193/0.33, allocations: 1.254 MB / 0.5452 GB, free: 26.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3316, allocations: 1.258 MB / 0.5464 GB, free: 25.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.3317, allocations: 0 / 0.5464 GB, free: 25.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.3321, allocations: 79.89 kB / 0.5465 GB, free: 25.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.333, allocations: 429.1 kB / 0.5469 GB, free: 25.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/0.333, allocations: 0 / 0.5469 GB, free: 25.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3344, allocations: 1.046 MB / 0.5479 GB, free: 25.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.3345, allocations: 3.219 kB / 0.5479 GB, free: 25.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.3345, allocations: 15.02 kB / 0.548 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.3346, allocations: 17.83 kB / 0.548 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.3346, allocations: 0 / 0.548 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3347, allocations: 48.55 kB / 0.548 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3348, allocations: 32.75 kB / 0.5481 GB, free: 25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.3348, allocations: 26.16 kB / 0.5481 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.335, allocations: 81.98 kB / 0.5482 GB, free: 24.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.335, allocations: 0 / 0.5482 GB, free: 24.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.335, allocations: 0 / 0.5482 GB, free: 24.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.335, allocations: 0 / 0.5482 GB, free: 24.94 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.000371/0.3354, allocations: 313 kB / 0.5485 GB, free: 24.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3354, allocations: 9.281 kB / 0.5485 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.3358, allocations: 113.4 kB / 0.5486 GB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.3362, allocations: 312.7 kB / 0.5489 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3362, allocations: 154.9 kB / 0.549 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3363, allocations: 150.9 kB / 0.5492 GB, free: 23.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.383e-05/0.3363, allocations: 109.3 kB / 0.5493 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3363, allocations: 86.47 kB / 0.5493 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3364, allocations: 150.6 kB / 0.5495 GB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.3364, allocations: 150.6 kB / 0.5496 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.3364, allocations: 157.8 kB / 0.5498 GB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3366, allocations: 437.5 kB / 0.5502 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.3367, allocations: 175.5 kB / 0.5504 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.3367, allocations: 80.14 kB / 0.5504 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3367, allocations: 79.28 kB / 0.5505 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3367, allocations: 109.8 kB / 0.5506 GB, free: 22.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3367, allocations: 0 / 0.5506 GB, free: 22.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.185e-05/0.3368, allocations: 48.14 kB / 0.5507 GB, free: 22.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3368, allocations: 126.7 kB / 0.5508 GB, free: 22.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.337, allocations: 166.2 kB / 0.551 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.337, allocations: 25.7 kB / 0.551 GB, free: 22.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.337, allocations: 99.3 kB / 0.5511 GB, free: 22.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.337, allocations: 0 / 0.5511 GB, free: 22.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.337, allocations: 12.91 kB / 0.5511 GB, free: 21.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.3371, allocations: 321.5 kB / 0.5514 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.3371, allocations: 4 kB / 0.5514 GB, free: 21.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-06/0.3371, allocations: 0 / 0.5514 GB, free: 21.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/0.3371, allocations: 75.28 kB / 0.5515 GB, free: 21.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.3371, allocations: 78.56 kB / 0.5515 GB, free: 21.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.875e-05/0.3372, allocations: 39.84 kB / 0.5516 GB, free: 21.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3372, allocations: 85.59 kB / 0.5517 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3372, allocations: 75.28 kB / 0.5517 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.3372, allocations: 154.6 kB / 0.5519 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.237e-05/0.3372, allocations: 94.14 kB / 0.552 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.3373, allocations: 154 kB / 0.5521 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3373, allocations: 79.22 kB / 0.5522 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.3373, allocations: 75.28 kB / 0.5523 GB, free: 20.79 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 6.842e-05/0.3374, allocations: 277 kB / 0.5525 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.3374, allocations: 112.1 kB / 0.5526 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3375, allocations: 127.2 kB / 0.5528 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.3375, allocations: 180.3 kB / 0.5529 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.3375, allocations: 180.2 kB / 0.5531 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.3375, allocations: 179.5 kB / 0.5533 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.3377, allocations: 396 kB / 0.5536 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.3377, allocations: 108.2 kB / 0.5538 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.3377, allocations: 101 kB / 0.5538 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-05/0.3377, allocations: 192.1 kB / 0.554 GB, free: 18.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3378, allocations: 179.4 kB / 0.5542 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/0.3378, allocations: 179.8 kB / 0.5544 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-05/0.3378, allocations: 184.2 kB / 0.5545 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.699e-05/0.3379, allocations: 310.1 kB / 0.5548 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3379, allocations: 115.2 kB / 0.555 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3379, allocations: 183.2 kB / 0.5551 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.338, allocations: 105 kB / 0.5552 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.338, allocations: 180.3 kB / 0.5554 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.338, allocations: 107.7 kB / 0.5555 GB, free: 17.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.3381, allocations: 127.4 kB / 0.5556 GB, free: 17.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 2.938 kB / 0.5556 GB, free: 17.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3383, allocations: 3.031 kB / 0.5556 GB, free: 17.26 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 8.794e-05/0.3384, allocations: 174.2 kB / 0.5558 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.285e-05/0.3385, allocations: 3.422 kB / 0.5558 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3385, allocations: 0 / 0.5558 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.3385, allocations: 0 / 0.5558 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3388, allocations: 474.7 kB / 0.5563 GB, free: 16.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.3391, allocations: 248.9 kB / 0.5565 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3392, allocations: 0.7002 MB / 0.5572 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.3393, allocations: 3.031 kB / 0.5572 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3393, allocations: 10.34 kB / 0.5572 GB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3393, allocations: 0 / 0.5572 GB, free: 15.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003047/0.3423, allocations: 491 kB / 0.5577 GB, free: 15.62 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: 5.172383633907884] Failed to read output from testmodel.py, exit status != 0: 0.35062638809904456 0.361532015 0.023794059000000003 Calling exit ...