Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.001245/0.001245, allocations: 109.6 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.289/1.289, allocations: 222.9 MB / 242.7 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 179] 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.001414/0.001414, allocations: 198.2 kB / 295.1 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.03872/0.03872, allocations: 8.805 MB / 356 MB, free: 15.89 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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 83.86 kB / 473.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2397, allocations: 51.56 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00204/0.2418, allocations: 1.241 MB / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2435, allocations: 1.164 MB / 0.5149 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.2436, allocations: 1.094 kB / 0.5149 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.244, allocations: 73.3 kB / 0.515 GB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008834/0.2449, allocations: 405.4 kB / 0.5154 GB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.2449, allocations: 0 / 0.5154 GB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.2461, allocations: 0.7685 MB / 0.5161 GB, free: 9.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2461, allocations: 7.984 kB / 0.5161 GB, free: 9.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.2461, allocations: 7.938 kB / 0.5161 GB, free: 9.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.2462, allocations: 7.938 kB / 0.5161 GB, free: 9.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2462, allocations: 3.938 kB / 0.5161 GB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2463, allocations: 47.97 kB / 0.5162 GB, free: 9.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.2464, allocations: 19.97 kB / 0.5162 GB, free: 9.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.2464, allocations: 23.75 kB / 0.5162 GB, free: 9.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2466, allocations: 78.34 kB / 0.5163 GB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2466, allocations: 0 / 0.5163 GB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2466, allocations: 0 / 0.5163 GB, free: 9.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2466, allocations: 0 / 0.5163 GB, free: 9.242 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.0003959/0.247, allocations: 386.9 kB / 0.5167 GB, free: 8.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2471, allocations: 8.031 kB / 0.5167 GB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.2474, allocations: 112.1 kB / 0.5168 GB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.2479, allocations: 355.2 kB / 0.5171 GB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.248, allocations: 150.9 kB / 0.5173 GB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.248, allocations: 150.9 kB / 0.5174 GB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.2481, allocations: 109.3 kB / 0.5175 GB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.2481, allocations: 79.28 kB / 0.5176 GB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.2482, allocations: 154.6 kB / 0.5177 GB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.2483, allocations: 150.6 kB / 0.5179 GB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.2484, allocations: 154.5 kB / 0.518 GB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.2487, allocations: 461.9 kB / 0.5185 GB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.2488, allocations: 173.1 kB / 0.5186 GB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.2488, allocations: 84.19 kB / 0.5187 GB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2489, allocations: 79.28 kB / 0.5188 GB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.2489, allocations: 109.8 kB / 0.5189 GB, free: 6.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2489, allocations: 3.938 kB / 0.5189 GB, free: 6.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.249, allocations: 45.55 kB / 0.5189 GB, free: 6.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.2491, allocations: 126.7 kB / 0.5191 GB, free: 6.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2493, allocations: 158.2 kB / 0.5192 GB, free: 6.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2493, allocations: 25.7 kB / 0.5192 GB, free: 6.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.2494, allocations: 100.1 kB / 0.5193 GB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.2494, allocations: 4 kB / 0.5193 GB, free: 5.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.2494, allocations: 9.719 kB / 0.5193 GB, free: 5.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2496, allocations: 326.8 kB / 0.5197 GB, free: 5.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.2496, allocations: 0 / 0.5197 GB, free: 5.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-06/0.2496, allocations: 0 / 0.5197 GB, free: 5.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.2496, allocations: 75.28 kB / 0.5197 GB, free: 5.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/0.2497, allocations: 75.28 kB / 0.5198 GB, free: 5.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.236e-05/0.2497, allocations: 37.59 kB / 0.5198 GB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.2498, allocations: 93.86 kB / 0.5199 GB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.2498, allocations: 75.28 kB / 0.52 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.641e-05/0.2499, allocations: 154.6 kB / 0.5201 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.2499, allocations: 83.2 kB / 0.5202 GB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.135e-05/0.25, allocations: 154.6 kB / 0.5204 GB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.2501, allocations: 83.22 kB / 0.5204 GB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.2501, allocations: 75.28 kB / 0.5205 GB, free: 4.676 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.0001623/0.2503, allocations: 276.3 kB / 0.5208 GB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.2504, allocations: 124.8 kB / 0.5209 GB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.2504, allocations: 112.8 kB / 0.521 GB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/0.2505, allocations: 176.3 kB / 0.5212 GB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.2506, allocations: 180.2 kB / 0.5214 GB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.143e-05/0.2507, allocations: 184.3 kB / 0.5215 GB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.251, allocations: 429.1 kB / 0.5219 GB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.251, allocations: 101 kB / 0.522 GB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.2511, allocations: 109 kB / 0.5221 GB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.2512, allocations: 184.1 kB / 0.5223 GB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.2512, allocations: 180.3 kB / 0.5225 GB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.975e-05/0.2513, allocations: 180.2 kB / 0.5227 GB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-05/0.2514, allocations: 184.3 kB / 0.5228 GB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2516, allocations: 311.7 kB / 0.5231 GB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2517, allocations: 190 kB / 0.5233 GB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.2518, allocations: 184.1 kB / 0.5235 GB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.2519, allocations: 113 kB / 0.5236 GB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.252, allocations: 180.2 kB / 0.5238 GB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.252, allocations: 104.9 kB / 0.5239 GB, free: 1.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.2521, allocations: 124.1 kB / 0.524 GB, free: 0.8984 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2521, allocations: 0 / 0.524 GB, free: 0.8984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.2524, allocations: 4 kB / 0.524 GB, free: 0.8945 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.0001489/0.2525, allocations: 178.5 kB / 0.5242 GB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.64e-05/0.2526, allocations: 496 / 0.5242 GB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2526, allocations: 0 / 0.5242 GB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2526, allocations: 0 / 0.5242 GB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.253, allocations: 467.6 kB / 0.5246 GB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.2534, allocations: 266.4 kB / 0.5249 GB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2537, allocations: 0.6961 MB / 0.5255 GB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.2537, allocations: 7.438 kB / 0.5255 GB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2537, allocations: 0 / 0.5255 GB, free: 15.23 MB / 350.1 MB Notification: Performance of Templates: time 0.002386/0.2561, allocations: 0.8424 MB / 0.5264 GB, free: 14.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.560337501810864] Failed to read output from testmodel.py, exit status != 0: 0.2617814838886261 0.274807264 0.025740925 Calling exit ...