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.0008847/0.0008847, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240 MB, free: 5.52 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.0009647/0.0009647, allocations: 175.5 kB / 291.3 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03457/0.03457, allocations: 8.806 MB / 351.2 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 15.84 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06493/0.06528, allocations: 52.56 MB / 467 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001129/0.06645, allocations: 0.9743 MB / 468 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.06807, allocations: 1.137 MB / 469.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.06811, allocations: 3.938 kB / 469.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.06846, allocations: 79.75 kB / 469.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007881/0.06926, allocations: 354.9 kB / 469.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.06928, allocations: 0 / 469.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.07063, allocations: 0.9677 MB / 470.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.07068, allocations: 7.938 kB / 470.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.07071, allocations: 15.88 kB / 470.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.07075, allocations: 7.938 kB / 470.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.07076, allocations: 0 / 470.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.07089, allocations: 51.95 kB / 470.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.07094, allocations: 15.92 kB / 470.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.07099, allocations: 45.52 kB / 470.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.0711, allocations: 51.92 kB / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.07111, allocations: 0 / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.147e-06/0.07113, allocations: 0 / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.07114, allocations: 3.938 kB / 470.7 MB, free: 9.402 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.0002925/0.07143, allocations: 383 kB / 471.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.07147, allocations: 12.03 kB / 471.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/0.07182, allocations: 108.1 kB / 471.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.07221, allocations: 344 kB / 471.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.07227, allocations: 154.9 kB / 471.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.07232, allocations: 154.9 kB / 471.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.449e-05/0.07238, allocations: 117.2 kB / 472 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.07241, allocations: 75.28 kB / 472.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.07247, allocations: 150.6 kB / 472.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.07252, allocations: 150.6 kB / 472.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.07257, allocations: 154.6 kB / 472.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.07283, allocations: 469.9 kB / 473 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.0729, allocations: 169.1 kB / 473.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.07293, allocations: 80.14 kB / 473.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.07296, allocations: 75.28 kB / 473.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.07301, allocations: 113.8 kB / 473.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.07301, allocations: 0 / 473.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.348e-05/0.07308, allocations: 37.61 kB / 473.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.07314, allocations: 134.6 kB / 473.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.0733, allocations: 176.4 kB / 473.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.07333, allocations: 25.7 kB / 473.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.07338, allocations: 104.1 kB / 473.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.07339, allocations: 0 / 473.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.07341, allocations: 9.719 kB / 473.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.07351, allocations: 322.8 kB / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-06/0.07352, allocations: 0 / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-06/0.07352, allocations: 0 / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.07355, allocations: 75.28 kB / 474.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/0.07357, allocations: 75.28 kB / 474.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.07364, allocations: 41.61 kB / 474.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.07367, allocations: 87.22 kB / 474.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.0737, allocations: 79.22 kB / 474.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.965e-05/0.07376, allocations: 154.6 kB / 474.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.07378, allocations: 79.27 kB / 474.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.151e-05/0.07383, allocations: 154.5 kB / 474.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.0739, allocations: 75.28 kB / 475 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.07393, allocations: 83.22 kB / 475.1 MB, free: 4.828 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.0001057/0.07404, allocations: 276.3 kB / 475.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.0741, allocations: 112.8 kB / 475.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.07415, allocations: 125.5 kB / 475.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/0.07421, allocations: 180.3 kB / 475.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-05/0.07427, allocations: 188.3 kB / 475.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/0.07432, allocations: 180.2 kB / 476.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.07453, allocations: 421.2 kB / 476.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.07457, allocations: 108.9 kB / 476.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.0746, allocations: 105 kB / 476.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.973e-05/0.07466, allocations: 180.2 kB / 476.9 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.07471, allocations: 188.2 kB / 477.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.945e-05/0.07477, allocations: 176.3 kB / 477.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.993e-05/0.07482, allocations: 184.2 kB / 477.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.07494, allocations: 311.6 kB / 477.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.07501, allocations: 197.9 kB / 477.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.07507, allocations: 176.3 kB / 478.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.07515, allocations: 108.9 kB / 478.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.07521, allocations: 180.3 kB / 478.4 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.07525, allocations: 108.9 kB / 478.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.615e-05/0.07534, allocations: 124 kB / 478.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.07534, allocations: 3.938 kB / 478.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.0756, allocations: 8 kB / 478.6 MB, free: 1.039 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.0001036/0.07571, allocations: 170.5 kB / 478.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.596e-05/0.07575, allocations: 12.42 kB / 478.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.07575, allocations: 0 / 478.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.07576, allocations: 0 / 478.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.07618, allocations: 0.5263 MB / 479.3 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.07647, allocations: 285.8 kB / 479.6 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.07672, allocations: 0.7004 MB / 480.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.07674, allocations: 11.44 kB / 480.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.07675, allocations: 0 / 480.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Templates: time 0.001988/0.07874, allocations: 0.8338 MB / 481.2 MB, free: 14.43 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)