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.001443/0.001443, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.514/1.514, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.001712/0.001712, allocations: 203.4 kB / 301.4 MB, free: 9.074 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.04026/0.04026, allocations: 8.931 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.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.002581/0.002581, allocations: 87.7 kB / 489.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1362, allocations: 54.41 MB / 0.531 GB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002565/0.1388, allocations: 1.25 MB / 0.5322 GB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1411, allocations: 1.177 MB / 0.5334 GB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1411, allocations: 0 / 0.5334 GB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.1418, allocations: 71.69 kB / 0.5334 GB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.143, allocations: 402.5 kB / 0.5338 GB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.143, allocations: 0 / 0.5338 GB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1447, allocations: 0.9792 MB / 0.5348 GB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.1447, allocations: 0 / 0.5348 GB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.1447, allocations: 7.938 kB / 0.5348 GB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.1448, allocations: 27.84 kB / 0.5348 GB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1448, allocations: 0 / 0.5348 GB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1449, allocations: 39.92 kB / 0.5349 GB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.145, allocations: 23.91 kB / 0.5349 GB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.145, allocations: 23.8 kB / 0.5349 GB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1452, allocations: 75.69 kB / 0.535 GB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1452, allocations: 0 / 0.535 GB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1453, allocations: 0 / 0.535 GB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1453, allocations: 0 / 0.535 GB, free: 10.61 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.0004763/0.1457, allocations: 386.8 kB / 0.5353 GB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1458, allocations: 16.03 kB / 0.5354 GB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.1462, allocations: 108.1 kB / 0.5355 GB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.1467, allocations: 355.9 kB / 0.5358 GB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.1468, allocations: 150.9 kB / 0.5359 GB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.1469, allocations: 158.9 kB / 0.5361 GB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.1469, allocations: 113.2 kB / 0.5362 GB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.147, allocations: 79.27 kB / 0.5363 GB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-05/0.147, allocations: 154.6 kB / 0.5364 GB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.1471, allocations: 150.6 kB / 0.5366 GB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.1472, allocations: 154.5 kB / 0.5367 GB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1475, allocations: 469.9 kB / 0.5372 GB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1476, allocations: 165.1 kB / 0.5373 GB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1477, allocations: 80.14 kB / 0.5374 GB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.1477, allocations: 75.28 kB / 0.5375 GB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.1478, allocations: 121.7 kB / 0.5376 GB, free: 7.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1478, allocations: 0 / 0.5376 GB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.348e-05/0.1479, allocations: 37.66 kB / 0.5376 GB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.148, allocations: 126.7 kB / 0.5378 GB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1482, allocations: 168 kB / 0.5379 GB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1482, allocations: 25.7 kB / 0.5379 GB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.1483, allocations: 104.1 kB / 0.538 GB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1483, allocations: 4 kB / 0.538 GB, free: 7.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.1483, allocations: 9.719 kB / 0.538 GB, free: 7.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1484, allocations: 322.8 kB / 0.5384 GB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.1484, allocations: 0 / 0.5384 GB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.1485, allocations: 0 / 0.5384 GB, free: 6.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.1485, allocations: 75.28 kB / 0.5384 GB, free: 6.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.822e-05/0.1485, allocations: 79.28 kB / 0.5385 GB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.528e-05/0.1486, allocations: 45.53 kB / 0.5385 GB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.1486, allocations: 91.22 kB / 0.5386 GB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/0.1487, allocations: 79.28 kB / 0.5387 GB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/0.1488, allocations: 154.5 kB / 0.5389 GB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.1488, allocations: 79.28 kB / 0.5389 GB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.952e-05/0.1489, allocations: 154.5 kB / 0.5391 GB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.149, allocations: 83.22 kB / 0.5392 GB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.149, allocations: 83.28 kB / 0.5392 GB, free: 6 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.0001634/0.1492, allocations: 280.3 kB / 0.5395 GB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.1492, allocations: 116.8 kB / 0.5396 GB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.1493, allocations: 113.5 kB / 0.5397 GB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.363e-05/0.1494, allocations: 184.2 kB / 0.5399 GB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.762e-05/0.1495, allocations: 180.3 kB / 0.5401 GB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/0.1496, allocations: 180.3 kB / 0.5402 GB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1499, allocations: 421.1 kB / 0.5406 GB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.578e-05/0.15, allocations: 105 kB / 0.5407 GB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.15, allocations: 104.9 kB / 0.5408 GB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.075e-05/0.1501, allocations: 180.2 kB / 0.541 GB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.1502, allocations: 188.2 kB / 0.5412 GB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-05/0.1503, allocations: 192.1 kB / 0.5414 GB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.447e-05/0.1504, allocations: 176.3 kB / 0.5415 GB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1505, allocations: 311.7 kB / 0.5418 GB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1507, allocations: 194 kB / 0.542 GB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.1507, allocations: 184.2 kB / 0.5422 GB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.1508, allocations: 101 kB / 0.5423 GB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.1509, allocations: 180.2 kB / 0.5425 GB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.151, allocations: 101 kB / 0.5426 GB, free: 2.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1511, allocations: 127.9 kB / 0.5427 GB, free: 2.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1511, allocations: 0 / 0.5427 GB, free: 2.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1514, allocations: 8 kB / 0.5427 GB, free: 2.223 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.0001629/0.1515, allocations: 170.5 kB / 0.5429 GB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.005e-05/0.1516, allocations: 8.469 kB / 0.5429 GB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1516, allocations: 0 / 0.5429 GB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1516, allocations: 3.938 kB / 0.5429 GB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.1521, allocations: 467.7 kB / 0.5433 GB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.1525, allocations: 244.7 kB / 0.5436 GB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1529, allocations: 0.7098 MB / 0.5442 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1529, allocations: 7.984 kB / 0.5443 GB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1529, allocations: 7.438 kB / 0.5443 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1529, allocations: 0 / 0.5443 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of Templates: time 0.00321/0.1561, allocations: 479.9 kB / 0.5447 GB, free: 96 kB / 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: 4.9381427224725485]