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.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.00164/0.00164, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.411/1.411, allocations: 222.9 MB / 242.7 MB, free: 15.23 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.001697/0.001697, allocations: 190.8 kB / 295.1 MB, free: 12.65 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.03901/0.03901, allocations: 8.792 MB / 356 MB, free: 15.91 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.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: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 87.86 kB / 473.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2528, allocations: 51.55 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.00227/0.2551, allocations: 1.248 MB / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.2569, allocations: 1.152 MB / 0.5149 GB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2569, allocations: 0 / 0.5149 GB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.2574, allocations: 77.31 kB / 0.515 GB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008855/0.2583, allocations: 416.1 kB / 0.5154 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.576e-06/0.2583, allocations: 0 / 0.5154 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.2597, allocations: 0.9558 MB / 0.5163 GB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.2598, allocations: 8 kB / 0.5163 GB, free: 9.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.2598, allocations: 15.94 kB / 0.5163 GB, free: 9.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.2598, allocations: 15.86 kB / 0.5163 GB, free: 9.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.2599, allocations: 0 / 0.5163 GB, free: 9.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.26, allocations: 39.98 kB / 0.5164 GB, free: 9.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.2601, allocations: 23.95 kB / 0.5164 GB, free: 9.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.2601, allocations: 19.81 kB / 0.5164 GB, free: 9.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2603, allocations: 82.28 kB / 0.5165 GB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2603, allocations: 0 / 0.5165 GB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2603, allocations: 0 / 0.5165 GB, free: 9.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2603, allocations: 0 / 0.5165 GB, free: 9.051 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.0004061/0.2607, allocations: 390.9 kB / 0.5169 GB, free: 8.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2607, allocations: 12.03 kB / 0.5169 GB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.2611, allocations: 104.1 kB / 0.517 GB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.2616, allocations: 352 kB / 0.5173 GB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.2616, allocations: 162.9 kB / 0.5175 GB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.2617, allocations: 154.9 kB / 0.5176 GB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.073e-05/0.2618, allocations: 109.3 kB / 0.5177 GB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.2618, allocations: 75.28 kB / 0.5178 GB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.2619, allocations: 150.6 kB / 0.5179 GB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.262, allocations: 150.6 kB / 0.5181 GB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.262, allocations: 158.5 kB / 0.5182 GB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.2624, allocations: 469.9 kB / 0.5187 GB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.2625, allocations: 169.1 kB / 0.5188 GB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.2625, allocations: 80.14 kB / 0.5189 GB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.2626, allocations: 79.28 kB / 0.519 GB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.2626, allocations: 109.8 kB / 0.5191 GB, free: 6.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.2626, allocations: 4 kB / 0.5191 GB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.45e-05/0.2627, allocations: 37.59 kB / 0.5191 GB, free: 6.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.2628, allocations: 126.7 kB / 0.5193 GB, free: 6.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.263, allocations: 172.3 kB / 0.5194 GB, free: 5.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.263, allocations: 25.7 kB / 0.5194 GB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2631, allocations: 104.1 kB / 0.5195 GB, free: 5.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.2631, allocations: 0 / 0.5195 GB, free: 5.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.2631, allocations: 13.72 kB / 0.5196 GB, free: 5.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2633, allocations: 318.8 kB / 0.5199 GB, free: 5.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.2633, allocations: 0 / 0.5199 GB, free: 5.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-06/0.2633, allocations: 0 / 0.5199 GB, free: 5.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.2633, allocations: 79.28 kB / 0.5199 GB, free: 5.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.2633, allocations: 75.28 kB / 0.52 GB, free: 5.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.069e-05/0.2634, allocations: 41.59 kB / 0.52 GB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.2635, allocations: 89.25 kB / 0.5201 GB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.2635, allocations: 79.28 kB / 0.5202 GB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.749e-05/0.2636, allocations: 150.6 kB / 0.5204 GB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-05/0.2636, allocations: 79.22 kB / 0.5204 GB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.995e-05/0.2637, allocations: 154.5 kB / 0.5206 GB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.2638, allocations: 91.16 kB / 0.5207 GB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2638, allocations: 79.33 kB / 0.5207 GB, free: 4.457 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.000155/0.264, allocations: 280.3 kB / 0.521 GB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.264, allocations: 116.8 kB / 0.5211 GB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.2641, allocations: 121.5 kB / 0.5212 GB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-05/0.2642, allocations: 176.3 kB / 0.5214 GB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/0.2643, allocations: 184.2 kB / 0.5216 GB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/0.2644, allocations: 180.3 kB / 0.5217 GB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2646, allocations: 421.2 kB / 0.5222 GB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.2647, allocations: 104.9 kB / 0.5223 GB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.2647, allocations: 105 kB / 0.5224 GB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.121e-05/0.2648, allocations: 188.1 kB / 0.5225 GB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.2649, allocations: 180.2 kB / 0.5227 GB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/0.265, allocations: 184.2 kB / 0.5229 GB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.2651, allocations: 176.3 kB / 0.523 GB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2652, allocations: 315.7 kB / 0.5233 GB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.2653, allocations: 190 kB / 0.5235 GB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.2654, allocations: 196.1 kB / 0.5237 GB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.2655, allocations: 105 kB / 0.5238 GB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.2656, allocations: 180.3 kB / 0.524 GB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.2657, allocations: 104.9 kB / 0.5241 GB, free: 0.7969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.2658, allocations: 131.9 kB / 0.5242 GB, free: 0.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2658, allocations: 0 / 0.5242 GB, free: 0.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.266, allocations: 4 kB / 0.5242 GB, free: 0.6641 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.0001479/0.2662, allocations: 174.5 kB / 0.5244 GB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.185e-05/0.2662, allocations: 496 / 0.5244 GB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2662, allocations: 0 / 0.5244 GB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.2662, allocations: 3.984 kB / 0.5244 GB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.2667, allocations: 475.6 kB / 0.5248 GB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.2671, allocations: 270.4 kB / 0.5251 GB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2674, allocations: 0.7 MB / 0.5258 GB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.2674, allocations: 7.438 kB / 0.5258 GB, free: 14.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2674, allocations: 0 / 0.5258 GB, free: 14.98 MB / 350.1 MB Notification: Performance of Templates: time 0.002369/0.2698, allocations: 0.8428 MB / 0.5266 GB, free: 14.14 MB / 350.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: 6.6773443969432265] Failed to read output from testmodel.py, exit status != 0: 0.2762602379079908 0.288911169 0.026196229 Calling exit ...