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.001727/0.001727, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.504/1.504, allocations: 225.6 MB / 246.2 MB, free: 13.57 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.001733/0.001733, allocations: 194.3 kB / 301.4 MB, free: 9.07 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.04071/0.04071, allocations: 8.925 MB / 365.5 MB, free: 9.207 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.002388/0.002388, allocations: 88.2 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1245, allocations: 54.41 MB / 0.531 GB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002965/0.1274, allocations: 1.254 MB / 0.5322 GB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.1298, allocations: 1.184 MB / 0.5334 GB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.1299, allocations: 0 / 0.5334 GB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.1304, allocations: 75.7 kB / 0.5335 GB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1315, allocations: 398.5 kB / 0.5339 GB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.1315, allocations: 0 / 0.5339 GB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.1329, allocations: 0.7686 MB / 0.5346 GB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.133, allocations: 4 kB / 0.5346 GB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.133, allocations: 11.94 kB / 0.5346 GB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1331, allocations: 19.81 kB / 0.5346 GB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1331, allocations: 0 / 0.5346 GB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1333, allocations: 47.95 kB / 0.5347 GB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1333, allocations: 15.98 kB / 0.5347 GB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1334, allocations: 23.8 kB / 0.5347 GB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1336, allocations: 75.62 kB / 0.5348 GB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1336, allocations: 0 / 0.5348 GB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1336, allocations: 3.938 kB / 0.5348 GB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1336, allocations: 0 / 0.5348 GB, free: 10.81 MB / 350.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.0005456/0.1342, allocations: 386.9 kB / 0.5352 GB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.1342, allocations: 16.02 kB / 0.5352 GB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.1347, allocations: 108.1 kB / 0.5353 GB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.1353, allocations: 343.3 kB / 0.5356 GB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.1354, allocations: 154.9 kB / 0.5358 GB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.1354, allocations: 150.9 kB / 0.5359 GB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.115e-05/0.1355, allocations: 121.2 kB / 0.536 GB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.1356, allocations: 75.28 kB / 0.5361 GB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.1357, allocations: 150.6 kB / 0.5362 GB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-05/0.1358, allocations: 154.6 kB / 0.5364 GB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1359, allocations: 158.5 kB / 0.5365 GB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1363, allocations: 461.9 kB / 0.537 GB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1364, allocations: 173.1 kB / 0.5371 GB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.1365, allocations: 80.14 kB / 0.5372 GB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.1365, allocations: 79.28 kB / 0.5373 GB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/0.1366, allocations: 113.8 kB / 0.5374 GB, free: 7.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1366, allocations: 0 / 0.5374 GB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.1367, allocations: 41.61 kB / 0.5374 GB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1368, allocations: 126.7 kB / 0.5376 GB, free: 7.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.137, allocations: 162.2 kB / 0.5377 GB, free: 7.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.137, allocations: 25.7 kB / 0.5377 GB, free: 7.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.1371, allocations: 104.1 kB / 0.5378 GB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.1371, allocations: 0 / 0.5378 GB, free: 7.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1371, allocations: 9.719 kB / 0.5378 GB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1372, allocations: 322.8 kB / 0.5382 GB, free: 7.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.1372, allocations: 0 / 0.5382 GB, free: 7.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.1372, allocations: 0 / 0.5382 GB, free: 7.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.1373, allocations: 75.28 kB / 0.5382 GB, free: 7.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.053e-05/0.1373, allocations: 75.28 kB / 0.5383 GB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.08e-05/0.1374, allocations: 41.66 kB / 0.5383 GB, free: 6.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.1374, allocations: 83.22 kB / 0.5384 GB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.1375, allocations: 79.22 kB / 0.5385 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.219e-05/0.1375, allocations: 150.6 kB / 0.5386 GB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.1376, allocations: 91.2 kB / 0.5387 GB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.303e-05/0.1376, allocations: 150.6 kB / 0.5389 GB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.1377, allocations: 79.28 kB / 0.5389 GB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.1378, allocations: 79.22 kB / 0.539 GB, free: 6.246 MB / 350.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.0001522/0.1379, allocations: 276.3 kB / 0.5393 GB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.138, allocations: 116.9 kB / 0.5394 GB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.1381, allocations: 116.8 kB / 0.5395 GB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/0.1381, allocations: 180.3 kB / 0.5397 GB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.538e-05/0.1382, allocations: 184.3 kB / 0.5399 GB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.1383, allocations: 180.2 kB / 0.54 GB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.1386, allocations: 421.2 kB / 0.5404 GB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-05/0.1387, allocations: 104.9 kB / 0.5405 GB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.1387, allocations: 104.9 kB / 0.5406 GB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.963e-05/0.1388, allocations: 188.1 kB / 0.5408 GB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.1389, allocations: 184.2 kB / 0.541 GB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.748e-05/0.139, allocations: 184.2 kB / 0.5412 GB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.213e-05/0.1391, allocations: 184.2 kB / 0.5413 GB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1393, allocations: 307.8 kB / 0.5416 GB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1394, allocations: 197.9 kB / 0.5418 GB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1395, allocations: 180.3 kB / 0.542 GB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1396, allocations: 108.9 kB / 0.5421 GB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.1396, allocations: 176.3 kB / 0.5423 GB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.1397, allocations: 105 kB / 0.5424 GB, free: 2.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1398, allocations: 140 kB / 0.5425 GB, free: 2.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1398, allocations: 0 / 0.5425 GB, free: 2.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1401, allocations: 0 / 0.5425 GB, free: 2.457 MB / 350.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.0002009/0.1403, allocations: 174.5 kB / 0.5427 GB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.096e-05/0.1404, allocations: 496 / 0.5427 GB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.1404, allocations: 0 / 0.5427 GB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.1404, allocations: 4 kB / 0.5427 GB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.141, allocations: 471.7 kB / 0.5431 GB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.1413, allocations: 240.7 kB / 0.5433 GB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1417, allocations: 0.7 MB / 0.544 GB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.1417, allocations: 4 kB / 0.544 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.1417, allocations: 11.44 kB / 0.544 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1417, allocations: 4 kB / 0.544 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of Templates: time 0.003161/0.1449, allocations: 472.3 kB / 0.5445 GB, free: 356 kB / 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: 4.957841171883047]