Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001936/0.001936, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.521/1.521, allocations: 230.6 MB / 252.7 MB, free: 8.062 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.002162/0.002162, allocations: 206.8 kB / 309.2 MB, free: 2.926 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.04365/0.04365, allocations: 8.916 MB / 374.6 MB, free: 1.703 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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [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.002916/0.002916, allocations: 91.84 kB / 0.4896 GB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2734, allocations: 55.59 MB / 0.5439 GB, free: 26.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002085/0.2755, allocations: 1.288 MB / 0.5452 GB, free: 26.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.714e-05/0.2755, allocations: 14.92 kB / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.2756, allocations: 0 / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.2756, allocations: 0 / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.2757, allocations: 7.453 kB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.426e-05/0.2757, allocations: 0 / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.2757, allocations: 6.875 kB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.404e-05/0.2758, allocations: 2.938 kB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.2758, allocations: 7 kB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.2759, allocations: 7.938 kB / 0.5452 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2759, allocations: 0 / 0.5452 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-06/0.2759, allocations: 2.938 kB / 0.5452 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2759, allocations: 3.938 kB / 0.5452 GB, free: 26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.2759, allocations: 0 / 0.5452 GB, free: 26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.276, allocations: 10.09 kB / 0.5452 GB, free: 26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.276, allocations: 0 / 0.5452 GB, free: 26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.276, allocations: 3.938 kB / 0.5452 GB, free: 26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.276, allocations: 0 / 0.5452 GB, free: 26 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002618/0.2762, allocations: 245.5 kB / 0.5455 GB, free: 25.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2763, allocations: 12.94 kB / 0.5455 GB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.2763, allocations: 7.609 kB / 0.5455 GB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.2764, allocations: 105.5 kB / 0.5456 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2764, allocations: 384 / 0.5456 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2764, allocations: 3.312 kB / 0.5456 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.334e-05/0.2764, allocations: 42.89 kB / 0.5456 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2765, allocations: 7.359 kB / 0.5456 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2765, allocations: 3.938 kB / 0.5456 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2765, allocations: 0 / 0.5456 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.2765, allocations: 3 kB / 0.5456 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.2767, allocations: 427.6 kB / 0.546 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.2767, allocations: 173.1 kB / 0.5462 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.2768, allocations: 87.05 kB / 0.5463 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2768, allocations: 75.28 kB / 0.5464 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2768, allocations: 105.8 kB / 0.5465 GB, free: 24.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2768, allocations: 0 / 0.5465 GB, free: 24.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 5.286e-05/0.2768, allocations: 28.67 kB / 0.5465 GB, free: 24.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2769, allocations: 134 kB / 0.5466 GB, free: 24.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.2769, allocations: 106.7 kB / 0.5467 GB, free: 24.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.2769, allocations: 29.7 kB / 0.5467 GB, free: 24.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.277, allocations: 87.61 kB / 0.5468 GB, free: 24.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.277, allocations: 4 kB / 0.5468 GB, free: 24.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.277, allocations: 16.55 kB / 0.5468 GB, free: 24.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.277, allocations: 318.2 kB / 0.5472 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.277, allocations: 0 / 0.5472 GB, free: 23.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.277, allocations: 12.72 kB / 0.5472 GB, free: 23.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.2771, allocations: 20.14 kB / 0.5472 GB, free: 23.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2771, allocations: 2.969 kB / 0.5472 GB, free: 23.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.239e-05/0.2771, allocations: 46.36 kB / 0.5472 GB, free: 23.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2772, allocations: 5.594 kB / 0.5472 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2772, allocations: 2.938 kB / 0.5472 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2772, allocations: 0 / 0.5472 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.2772, allocations: 6.969 kB / 0.5472 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2772, allocations: 3.281 kB / 0.5472 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2772, allocations: 6.969 kB / 0.5473 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2773, allocations: 3.984 kB / 0.5473 GB, free: 23.82 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 (2): * Single equations (assignments): 2 * 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 4.297e-05/0.2773, allocations: 191.9 kB / 0.5474 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.2773, allocations: 108.9 kB / 0.5475 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.2773, allocations: 115.2 kB / 0.5477 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.2774, allocations: 183.7 kB / 0.5478 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/0.2774, allocations: 179.5 kB / 0.548 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.2774, allocations: 180.3 kB / 0.5482 GB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.2775, allocations: 355.5 kB / 0.5485 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.2775, allocations: 104.2 kB / 0.5486 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.2775, allocations: 112.9 kB / 0.5487 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/0.2776, allocations: 176.3 kB / 0.5489 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2776, allocations: 186.9 kB / 0.5491 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/0.2776, allocations: 176.3 kB / 0.5492 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-05/0.2776, allocations: 183.4 kB / 0.5494 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.685e-05/0.2777, allocations: 310.3 kB / 0.5497 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.2777, allocations: 116 kB / 0.5498 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.2777, allocations: 179.5 kB / 0.55 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.2778, allocations: 104.9 kB / 0.5501 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.2778, allocations: 188 kB / 0.5503 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2778, allocations: 104.4 kB / 0.5504 GB, free: 20.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.2778, allocations: 82.44 kB / 0.5504 GB, free: 20.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2778, allocations: 0 / 0.5504 GB, free: 20.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.2781, allocations: 3.25 kB / 0.5504 GB, free: 20.43 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 5.33e-05/0.2781, allocations: 174.6 kB / 0.5506 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.2782, allocations: 11.16 kB / 0.5506 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2782, allocations: 0 / 0.5506 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2782, allocations: 352 / 0.5506 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2784, allocations: 454.9 kB / 0.5511 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.2786, allocations: 163.5 kB / 0.5512 GB, free: 19.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.2786, allocations: 57.62 kB / 0.5513 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.2786, allocations: 0 / 0.5513 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.2787, allocations: 7.438 kB / 0.5513 GB, free: 19.55 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2787, allocations: 10.66 kB / 0.5513 GB, free: 19.55 MB / 382.1 MB Notification: Performance of Templates: time 0.002148/0.2808, allocations: 198.1 kB / 0.5515 GB, free: 19.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.045747108757496] Failed to read output from testmodel.py, exit status != 0: 0.2893532682210207 0.29889720499999994 0.020346883 Calling exit ...