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) 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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.36/2.36, allocations: 222.9 MB / 239.5 MB, free: 4.727 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.002543/0.002543, allocations: 192.5 kB / 289.8 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05943/0.05943, allocations: 8.799 MB / 348.7 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 74 kB / 411.1 MB, free: 42.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1327, allocations: 51.57 MB / 462.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.003305/0.1361, allocations: 1.308 MB / 463.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1387, allocations: 1.164 MB / 465.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.1388, allocations: 4 kB / 465.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.1394, allocations: 71.75 kB / 465.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1407, allocations: 358.9 kB / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.62e-06/0.1407, allocations: 0 / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.143, allocations: 0.9597 MB / 466.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.1431, allocations: 8 kB / 466.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.1432, allocations: 7.938 kB / 466.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.1432, allocations: 15.92 kB / 466.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1433, allocations: 3.938 kB / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.1435, allocations: 51.91 kB / 466.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1436, allocations: 19.91 kB / 466.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1436, allocations: 19.81 kB / 466.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1439, allocations: 56.16 kB / 466.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1439, allocations: 0 / 466.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1439, allocations: 0 / 466.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1439, allocations: 0 / 466.7 MB, free: 10.81 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.0005173/0.1444, allocations: 386.9 kB / 467 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1445, allocations: 12.03 kB / 467 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.1451, allocations: 108.1 kB / 467.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.1457, allocations: 347.9 kB / 467.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.1458, allocations: 154.9 kB / 467.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.1459, allocations: 150.9 kB / 467.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.146, allocations: 113.3 kB / 467.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.146, allocations: 79.28 kB / 468 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.1461, allocations: 150.6 kB / 468.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.1462, allocations: 150.6 kB / 468.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.1463, allocations: 158.5 kB / 468.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1467, allocations: 465.9 kB / 468.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.1468, allocations: 165.1 kB / 469 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.1468, allocations: 80.14 kB / 469.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1469, allocations: 79.28 kB / 469.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/0.147, allocations: 117.7 kB / 469.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.147, allocations: 0 / 469.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.1471, allocations: 37.61 kB / 469.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.1472, allocations: 130.7 kB / 469.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1475, allocations: 168.5 kB / 469.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1475, allocations: 25.7 kB / 469.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.1476, allocations: 108.1 kB / 469.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.1476, allocations: 0 / 469.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.1476, allocations: 9.719 kB / 469.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1478, allocations: 322.8 kB / 470.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.1479, allocations: 3.938 kB / 470.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.1479, allocations: 0 / 470.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.1479, allocations: 75.28 kB / 470.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.736e-05/0.148, allocations: 75.28 kB / 470.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001045/0.1481, allocations: 45.55 kB / 470.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.1482, allocations: 83.22 kB / 470.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-05/0.1482, allocations: 75.28 kB / 470.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.758e-05/0.1483, allocations: 162.5 kB / 470.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.1484, allocations: 79.28 kB / 470.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-05/0.1485, allocations: 162.5 kB / 470.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1486, allocations: 83.22 kB / 470.9 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.1486, allocations: 79.28 kB / 471 MB, free: 6.215 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.0001918/0.1488, allocations: 272.3 kB / 471.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.149, allocations: 120.7 kB / 471.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.666e-05/0.1491, allocations: 117.5 kB / 471.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-05/0.1492, allocations: 184.3 kB / 471.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.403e-05/0.1493, allocations: 184.2 kB / 471.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.449e-05/0.1494, allocations: 176.3 kB / 472 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.1498, allocations: 425.1 kB / 472.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/0.1498, allocations: 101 kB / 472.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.1499, allocations: 108.9 kB / 472.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-05/0.15, allocations: 188.2 kB / 472.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.1501, allocations: 180.3 kB / 473 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.961e-05/0.1502, allocations: 184.2 kB / 473.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.238e-05/0.1503, allocations: 180.3 kB / 473.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1505, allocations: 311.7 kB / 473.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1506, allocations: 193.9 kB / 473.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1508, allocations: 180.2 kB / 474 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1509, allocations: 105 kB / 474.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.151, allocations: 180.2 kB / 474.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.1511, allocations: 105 kB / 474.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1513, allocations: 131.9 kB / 474.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1513, allocations: 0 / 474.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.1518, allocations: 4 kB / 474.6 MB, free: 2.438 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.0001964/0.152, allocations: 170.5 kB / 474.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.408e-05/0.152, allocations: 4 kB / 474.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.152, allocations: 3.938 kB / 474.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.1521, allocations: 3.938 kB / 474.7 MB, free: 2.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.1528, allocations: 0.5341 MB / 475.3 MB, free: 1.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1534, allocations: 280.5 kB / 475.5 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1538, allocations: 0.6965 MB / 476.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1538, allocations: 11.44 kB / 476.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1538, allocations: 0 / 476.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of Templates: time 0.003502/0.1574, allocations: 0.8496 MB / 477.1 MB, free: 15.82 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (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)