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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008041/0.008041, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.999/1.999, allocations: 222.9 MB / 239.5 MB, free: 4.805 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 192.5 kB / 289.8 MB, free: 2.539 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06526/0.06526, allocations: 8.793 MB / 348.7 MB, free: 4.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002827, allocations: 75.02 kB / 411.1 MB, free: 42.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1386, allocations: 51.57 MB / 462.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00409/0.1427, allocations: 1.298 MB / 463.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.1464, allocations: 1.176 MB / 465.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1464, allocations: 0 / 465.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.1471, allocations: 71.75 kB / 465.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1488, allocations: 346.9 kB / 465.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.003e-05/0.1488, allocations: 4 kB / 465.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.151, allocations: 0.7762 MB / 466.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.1511, allocations: 7.984 kB / 466.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.1512, allocations: 7.938 kB / 466.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.1512, allocations: 19.86 kB / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1513, allocations: 0 / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.1515, allocations: 35.98 kB / 466.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1516, allocations: 27.89 kB / 466.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1517, allocations: 19.88 kB / 466.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1519, allocations: 56.05 kB / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.152, allocations: 0 / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.152, allocations: 0 / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.152, allocations: 0 / 466.5 MB, free: 11.12 MB / 302.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.0005824/0.1526, allocations: 379.1 kB / 466.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1526, allocations: 12.03 kB / 466.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.1534, allocations: 108.1 kB / 466.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.1542, allocations: 352.1 kB / 467.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.1543, allocations: 154.9 kB / 467.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.1544, allocations: 150.9 kB / 467.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1545, allocations: 117.2 kB / 467.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.1546, allocations: 75.28 kB / 467.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.1547, allocations: 154.6 kB / 467.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.258e-05/0.1548, allocations: 150.6 kB / 468.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.1549, allocations: 150.6 kB / 468.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.1554, allocations: 465.9 kB / 468.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1556, allocations: 177.1 kB / 468.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.1556, allocations: 80.14 kB / 468.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.1557, allocations: 75.28 kB / 469 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/0.1558, allocations: 109.8 kB / 469.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/0.1558, allocations: 0 / 469.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001327/0.156, allocations: 41.55 kB / 469.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1561, allocations: 134.7 kB / 469.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1564, allocations: 158.2 kB / 469.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1564, allocations: 29.7 kB / 469.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1565, allocations: 100.1 kB / 469.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.1565, allocations: 0 / 469.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1566, allocations: 13.72 kB / 469.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1568, allocations: 314.8 kB / 469.9 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.1568, allocations: 4 kB / 469.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.1568, allocations: 4 kB / 469.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.1569, allocations: 79.27 kB / 470 MB, free: 7.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.859e-05/0.157, allocations: 75.33 kB / 470 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001139/0.1571, allocations: 41.55 kB / 470.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/0.1572, allocations: 87.22 kB / 470.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.1572, allocations: 75.28 kB / 470.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.862e-05/0.1573, allocations: 150.6 kB / 470.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.1574, allocations: 83.22 kB / 470.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.769e-05/0.1575, allocations: 154.6 kB / 470.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1577, allocations: 83.2 kB / 470.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009467/0.1586, allocations: 79.28 kB / 470.8 MB, free: 6.551 MB / 302.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.0002223/0.1589, allocations: 272.3 kB / 471 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.159, allocations: 112.8 kB / 471.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.822e-05/0.1592, allocations: 120.8 kB / 471.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.099e-05/0.1593, allocations: 176.3 kB / 471.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.545e-05/0.1594, allocations: 192.2 kB / 471.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.723e-05/0.1595, allocations: 180.2 kB / 471.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1599, allocations: 413.2 kB / 472.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.657e-05/0.16, allocations: 120.9 kB / 472.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.16, allocations: 101 kB / 472.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.424e-05/0.1602, allocations: 184.1 kB / 472.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/0.1603, allocations: 180.3 kB / 472.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.226e-05/0.1604, allocations: 184.2 kB / 473 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.185e-05/0.1605, allocations: 184.2 kB / 473.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1607, allocations: 315.7 kB / 473.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1609, allocations: 185.9 kB / 473.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.161, allocations: 180.2 kB / 473.8 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1612, allocations: 108.9 kB / 473.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.1613, allocations: 184.3 kB / 474.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.1614, allocations: 104.9 kB / 474.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1616, allocations: 119.2 kB / 474.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1616, allocations: 0 / 474.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000488/0.1621, allocations: 4 kB / 474.3 MB, free: 2.781 MB / 302.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.0002457/0.1623, allocations: 174.5 kB / 474.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.203e-05/0.1624, allocations: 4 kB / 474.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1624, allocations: 0 / 474.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.1624, allocations: 0 / 474.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.1633, allocations: 0.5419 MB / 475 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.1639, allocations: 276.2 kB / 475.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1643, allocations: 0.7004 MB / 476 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1643, allocations: 7.438 kB / 476 MB, free: 1.012 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1644, allocations: 0 / 476 MB, free: 1.012 MB / 302.1 MB Notification: Performance of Templates: time 0.003648/0.168, allocations: 0.8172 MB / 476.8 MB, free: 200 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (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)