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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 116.7 kB / 17.08 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 190.9 kB / 295 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03869/0.03869, allocations: 8.788 MB / 356 MB, free: 15.9 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 91.84 kB / 473.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2648, allocations: 51.55 MB / 0.5125 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.003573/0.2684, allocations: 1.251 MB / 0.5138 GB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2711, allocations: 1.155 MB / 0.5149 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.2712, allocations: 1.188 kB / 0.5149 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.2717, allocations: 76.94 kB / 0.515 GB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.2731, allocations: 396.7 kB / 0.5153 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.372e-06/0.2731, allocations: 0 / 0.5153 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.2747, allocations: 0.9753 MB / 0.5163 GB, free: 9.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.2748, allocations: 4 kB / 0.5163 GB, free: 9.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.2748, allocations: 7.938 kB / 0.5163 GB, free: 9.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2749, allocations: 15.86 kB / 0.5163 GB, free: 9.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2749, allocations: 0 / 0.5163 GB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2751, allocations: 55.84 kB / 0.5164 GB, free: 9.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.2752, allocations: 11.98 kB / 0.5164 GB, free: 9.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.2752, allocations: 19.81 kB / 0.5164 GB, free: 9.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2754, allocations: 87.33 kB / 0.5165 GB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2754, allocations: 0 / 0.5165 GB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2754, allocations: 0 / 0.5165 GB, free: 9.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2755, allocations: 0 / 0.5165 GB, free: 9.035 MB / 334.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.0004714/0.2759, allocations: 386.9 kB / 0.5169 GB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.276, allocations: 8.031 kB / 0.5169 GB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.2764, allocations: 112.1 kB / 0.517 GB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.2769, allocations: 359.9 kB / 0.5173 GB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.277, allocations: 150.9 kB / 0.5175 GB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.2771, allocations: 150.9 kB / 0.5176 GB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.2772, allocations: 105.3 kB / 0.5177 GB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.2772, allocations: 83.25 kB / 0.5178 GB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.2773, allocations: 158.6 kB / 0.5179 GB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.2774, allocations: 150.6 kB / 0.5181 GB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.2775, allocations: 162.5 kB / 0.5182 GB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.2779, allocations: 457.9 kB / 0.5187 GB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.278, allocations: 169.1 kB / 0.5188 GB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.278, allocations: 80.14 kB / 0.5189 GB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.2781, allocations: 75.28 kB / 0.519 GB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.2782, allocations: 121.8 kB / 0.5191 GB, free: 6.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2782, allocations: 3.938 kB / 0.5191 GB, free: 6.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.78e-05/0.2783, allocations: 33.66 kB / 0.5191 GB, free: 6.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.2783, allocations: 130.7 kB / 0.5193 GB, free: 6.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.2786, allocations: 168 kB / 0.5194 GB, free: 5.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2786, allocations: 25.7 kB / 0.5194 GB, free: 5.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.2787, allocations: 100.1 kB / 0.5195 GB, free: 5.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2787, allocations: 0 / 0.5195 GB, free: 5.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.2787, allocations: 13.72 kB / 0.5195 GB, free: 5.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2789, allocations: 322.8 kB / 0.5199 GB, free: 5.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.2789, allocations: 4 kB / 0.5199 GB, free: 5.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.2789, allocations: 0 / 0.5199 GB, free: 5.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.2789, allocations: 75.28 kB / 0.5199 GB, free: 5.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.942e-05/0.279, allocations: 75.28 kB / 0.52 GB, free: 5.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.902e-05/0.279, allocations: 37.59 kB / 0.52 GB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.2791, allocations: 91.2 kB / 0.5201 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.2791, allocations: 75.28 kB / 0.5202 GB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-05/0.2792, allocations: 154.5 kB / 0.5203 GB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.2793, allocations: 87.22 kB / 0.5204 GB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.442e-05/0.2794, allocations: 154.6 kB / 0.5206 GB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.2795, allocations: 79.22 kB / 0.5206 GB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2795, allocations: 83.33 kB / 0.5207 GB, free: 4.441 MB / 334.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 0.0001826/0.2797, allocations: 284.2 kB / 0.521 GB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.2798, allocations: 124.8 kB / 0.5211 GB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.2799, allocations: 113.5 kB / 0.5212 GB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.463e-05/0.28, allocations: 180.3 kB / 0.5214 GB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.2801, allocations: 184.2 kB / 0.5216 GB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.315e-05/0.2802, allocations: 180.2 kB / 0.5217 GB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.2805, allocations: 425.2 kB / 0.5222 GB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/0.2805, allocations: 105 kB / 0.5223 GB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.2806, allocations: 101 kB / 0.5223 GB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.401e-05/0.2807, allocations: 184.1 kB / 0.5225 GB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/0.2808, allocations: 184.3 kB / 0.5227 GB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.419e-05/0.2809, allocations: 180.2 kB / 0.5229 GB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-05/0.281, allocations: 180.3 kB / 0.523 GB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2811, allocations: 315.7 kB / 0.5233 GB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2813, allocations: 190 kB / 0.5235 GB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2814, allocations: 184.2 kB / 0.5237 GB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2815, allocations: 105 kB / 0.5238 GB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.2816, allocations: 184.2 kB / 0.524 GB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.2816, allocations: 105 kB / 0.5241 GB, free: 0.7812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2818, allocations: 123.9 kB / 0.5242 GB, free: 0.6602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2818, allocations: 0 / 0.5242 GB, free: 0.6602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.282, allocations: 4 kB / 0.5242 GB, free: 0.6562 MB / 334.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.0001514/0.2822, allocations: 170.5 kB / 0.5244 GB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.974e-05/0.2822, allocations: 8 kB / 0.5244 GB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2822, allocations: 0 / 0.5244 GB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.2822, allocations: 4.453 kB / 0.5244 GB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.2827, allocations: 471.6 kB / 0.5248 GB, free: 0 / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.2832, allocations: 266.4 kB / 0.5251 GB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.2836, allocations: 0.7039 MB / 0.5258 GB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.2836, allocations: 7.438 kB / 0.5258 GB, free: 14.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.2836, allocations: 0 / 0.5258 GB, free: 14.97 MB / 350.1 MB Notification: Performance of Templates: time 0.002664/0.2863, allocations: 0.8661 MB / 0.5266 GB, free: 14.11 MB / 350.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: 6.6412517440039665] Failed to read output from testmodel.py, exit status != 0: 0.29313863115385175 0.30612922400000003 0.028262032000000003 Calling exit ...