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.002174/0.002174, allocations: 111.2 kB / 17.61 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.524/1.524, 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.001795/0.001795, allocations: 185.9 kB / 301.4 MB, free: 9.125 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.04073/0.04073, allocations: 8.923 MB / 365.5 MB, free: 9.254 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.002358/0.002358, allocations: 82.33 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1282, allocations: 54.41 MB / 0.531 GB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002932/0.1311, allocations: 1.249 MB / 0.5322 GB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1335, allocations: 1.181 MB / 0.5334 GB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.1335, allocations: 0 / 0.5334 GB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.1341, allocations: 75.69 kB / 0.5335 GB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.1354, allocations: 398.5 kB / 0.5338 GB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.42e-06/0.1354, allocations: 0 / 0.5338 GB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1371, allocations: 0.9714 MB / 0.5348 GB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.1371, allocations: 4 kB / 0.5348 GB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.1372, allocations: 11.94 kB / 0.5348 GB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.1372, allocations: 19.84 kB / 0.5348 GB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1372, allocations: 0 / 0.5348 GB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1374, allocations: 39.98 kB / 0.5349 GB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1375, allocations: 19.91 kB / 0.5349 GB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.1375, allocations: 23.81 kB / 0.5349 GB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1378, allocations: 79.61 kB / 0.535 GB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1378, allocations: 0 / 0.535 GB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1378, allocations: 0 / 0.535 GB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1378, allocations: 0 / 0.535 GB, free: 10.66 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.0005213/0.1383, allocations: 394.8 kB / 0.5354 GB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1383, allocations: 8.031 kB / 0.5354 GB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.1388, allocations: 112.1 kB / 0.5355 GB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.1394, allocations: 356 kB / 0.5358 GB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1395, allocations: 162.8 kB / 0.536 GB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.1395, allocations: 150.9 kB / 0.5361 GB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.1396, allocations: 109.3 kB / 0.5362 GB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.1397, allocations: 75.28 kB / 0.5363 GB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.1397, allocations: 158.6 kB / 0.5364 GB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/0.1398, allocations: 150.6 kB / 0.5366 GB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.1399, allocations: 154.6 kB / 0.5367 GB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1402, allocations: 465.9 kB / 0.5372 GB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.1403, allocations: 165.1 kB / 0.5373 GB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1404, allocations: 84.14 kB / 0.5374 GB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1404, allocations: 79.28 kB / 0.5375 GB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.1405, allocations: 113.8 kB / 0.5376 GB, free: 7.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1405, allocations: 0 / 0.5376 GB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.1406, allocations: 37.59 kB / 0.5376 GB, free: 7.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.1407, allocations: 126.7 kB / 0.5378 GB, free: 7.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1409, allocations: 168.3 kB / 0.5379 GB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1409, allocations: 25.7 kB / 0.5379 GB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.141, allocations: 112.1 kB / 0.5381 GB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.141, allocations: 0 / 0.5381 GB, free: 7.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.141, allocations: 9.719 kB / 0.5381 GB, free: 7.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1411, allocations: 322.8 kB / 0.5384 GB, free: 6.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.1412, allocations: 0 / 0.5384 GB, free: 6.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.1412, allocations: 0 / 0.5384 GB, free: 6.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.1412, allocations: 79.22 kB / 0.5384 GB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/0.1412, allocations: 75.28 kB / 0.5385 GB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.733e-05/0.1413, allocations: 49.59 kB / 0.5386 GB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.1413, allocations: 87.22 kB / 0.5386 GB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/0.1414, allocations: 79.27 kB / 0.5387 GB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.014e-05/0.1415, allocations: 150.6 kB / 0.5389 GB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.1415, allocations: 83.22 kB / 0.5389 GB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-05/0.1416, allocations: 158.5 kB / 0.5391 GB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.1416, allocations: 83.22 kB / 0.5392 GB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.1417, allocations: 79.28 kB / 0.5393 GB, free: 6.051 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.0001548/0.1418, allocations: 280.3 kB / 0.5395 GB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.1419, allocations: 112.9 kB / 0.5396 GB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.142, allocations: 117.5 kB / 0.5397 GB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.724e-05/0.1421, allocations: 184.3 kB / 0.5399 GB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.822e-05/0.1422, allocations: 184.2 kB / 0.5401 GB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/0.1423, allocations: 176.3 kB / 0.5403 GB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1426, allocations: 421.2 kB / 0.5407 GB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-05/0.1427, allocations: 104.9 kB / 0.5408 GB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.1428, allocations: 101 kB / 0.5409 GB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.1429, allocations: 196.1 kB / 0.541 GB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.1431, allocations: 188.2 kB / 0.5412 GB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.833e-05/0.1432, allocations: 180.2 kB / 0.5414 GB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001018/0.1433, allocations: 176.3 kB / 0.5416 GB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1435, allocations: 315.7 kB / 0.5419 GB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.1437, allocations: 194 kB / 0.542 GB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.1438, allocations: 180.2 kB / 0.5422 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1439, allocations: 101 kB / 0.5423 GB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.144, allocations: 180.3 kB / 0.5425 GB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.144, allocations: 108.9 kB / 0.5426 GB, free: 2.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1442, allocations: 128 kB / 0.5427 GB, free: 2.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1442, allocations: 0 / 0.5427 GB, free: 2.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1445, allocations: 0 / 0.5427 GB, free: 2.273 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.0001919/0.1447, allocations: 174.5 kB / 0.5429 GB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.639e-05/0.1447, allocations: 4.484 kB / 0.5429 GB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1447, allocations: 0 / 0.5429 GB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1447, allocations: 4 kB / 0.5429 GB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.1453, allocations: 471.6 kB / 0.5433 GB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.1457, allocations: 244.7 kB / 0.5436 GB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1461, allocations: 0.7078 MB / 0.5443 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1461, allocations: 4 kB / 0.5443 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1462, allocations: 11.44 kB / 0.5443 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1462, allocations: 4 kB / 0.5443 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1497, allocations: 481.3 kB / 0.5447 GB, free: 140 kB / 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: 4.992454658262432]