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.001027/0.001027, allocations: 108.4 kB / 16.37 MB, free: 6.465 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.388/1.388, allocations: 222.9 MB / 240 MB, free: 4.586 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.001559/0.00156, allocations: 180.5 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03474/0.03474, allocations: 8.802 MB / 349.3 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 81.17 kB / 412.5 MB, free: 41.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1276, allocations: 51.57 MB / 464.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002602/0.1303, allocations: 1.245 MB / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1321, allocations: 1.16 MB / 466.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1322, allocations: 0 / 466.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1326, allocations: 75.69 kB / 466.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008974/0.1335, allocations: 402.5 kB / 467 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.1335, allocations: 0 / 467 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.135, allocations: 0.952 MB / 467.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.135, allocations: 7.984 kB / 467.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.135, allocations: 7.938 kB / 467.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.1351, allocations: 19.8 kB / 468 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.1351, allocations: 4 kB / 468 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1352, allocations: 43.97 kB / 468 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1353, allocations: 15.92 kB / 468 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1353, allocations: 19.81 kB / 468 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1355, allocations: 83.73 kB / 468.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1355, allocations: 0 / 468.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1355, allocations: 0 / 468.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1356, allocations: 3.938 kB / 468.1 MB, free: 9.594 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.0004008/0.136, allocations: 386.9 kB / 468.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.136, allocations: 12.03 kB / 468.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.1364, allocations: 116 kB / 468.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1368, allocations: 344 kB / 469 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.1369, allocations: 154.9 kB / 469.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.1369, allocations: 150.9 kB / 469.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.871e-05/0.137, allocations: 113.2 kB / 469.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1371, allocations: 75.28 kB / 469.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.1371, allocations: 154.6 kB / 469.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.1372, allocations: 150.6 kB / 469.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1372, allocations: 154.6 kB / 469.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1375, allocations: 469.9 kB / 470.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.1376, allocations: 169.1 kB / 470.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.1376, allocations: 80.14 kB / 470.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1377, allocations: 79.28 kB / 470.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.1377, allocations: 117.8 kB / 470.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1378, allocations: 0 / 470.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.1378, allocations: 37.59 kB / 470.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1379, allocations: 126.7 kB / 470.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1381, allocations: 161 kB / 471.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1381, allocations: 29.64 kB / 471.1 MB, free: 6.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.1382, allocations: 104.1 kB / 471.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.1382, allocations: 4 kB / 471.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.1382, allocations: 17.66 kB / 471.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1383, allocations: 322.8 kB / 471.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.1383, allocations: 0 / 471.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/0.1383, allocations: 0 / 471.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.1384, allocations: 75.28 kB / 471.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.1384, allocations: 75.28 kB / 471.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.303e-05/0.1385, allocations: 33.61 kB / 471.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.1385, allocations: 87.22 kB / 471.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/0.1385, allocations: 91.25 kB / 471.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.517e-05/0.1386, allocations: 150.6 kB / 472.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.1386, allocations: 75.28 kB / 472.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/0.1387, allocations: 162.5 kB / 472.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.1388, allocations: 75.28 kB / 472.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1388, allocations: 79.22 kB / 472.5 MB, free: 5.012 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.0001781/0.139, allocations: 284.3 kB / 472.7 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1391, allocations: 116.7 kB / 472.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.1392, allocations: 113.5 kB / 473 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/0.1393, allocations: 184.2 kB / 473.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.076e-05/0.1394, allocations: 184.2 kB / 473.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.108e-05/0.1394, allocations: 184.2 kB / 473.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1397, allocations: 421.2 kB / 473.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.468e-05/0.1398, allocations: 101 kB / 474 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.1398, allocations: 108.9 kB / 474.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.14, allocations: 184.2 kB / 474.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.1401, allocations: 184.2 kB / 474.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.674e-05/0.1402, allocations: 180.3 kB / 474.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.108e-05/0.1402, allocations: 184.2 kB / 474.8 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1404, allocations: 311.7 kB / 475.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.1405, allocations: 193.9 kB / 475.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.1406, allocations: 180.3 kB / 475.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.1407, allocations: 104.9 kB / 475.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.1408, allocations: 180.7 kB / 475.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.1408, allocations: 109 kB / 475.9 MB, free: 1.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1409, allocations: 128.8 kB / 476 MB, free: 1.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1409, allocations: 0 / 476 MB, free: 1.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1412, allocations: 7.984 kB / 476 MB, free: 1.223 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.000138/0.1413, allocations: 178.5 kB / 476.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.866e-05/0.1414, allocations: 4 kB / 476.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1414, allocations: 0 / 476.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1414, allocations: 64 / 476.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.1419, allocations: 467.7 kB / 476.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1422, allocations: 248.7 kB / 476.9 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1425, allocations: 0.7002 MB / 477.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.1425, allocations: 7.984 kB / 477.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.1426, allocations: 7.438 kB / 477.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of SimCode: time 2.725e-06/0.1426, allocations: 0 / 477.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of Templates: time 0.002851/0.1454, allocations: 481.5 kB / 478.1 MB, free: 15.1 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)