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.001151/0.001151, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.42/1.42, allocations: 222.9 MB / 240 MB, free: 4.496 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.001286/0.001286, allocations: 196.2 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03498/0.03498, allocations: 8.798 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 77.55 kB / 412.5 MB, free: 41.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08865, allocations: 51.57 MB / 464.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002297/0.09099, allocations: 1.235 MB / 465.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.09275, allocations: 1.156 MB / 466.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.0928, allocations: 4 kB / 466.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.09321, allocations: 79.69 kB / 466.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008732/0.09409, allocations: 402.5 kB / 467 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.09411, allocations: 4 kB / 467 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.0955, allocations: 0.9481 MB / 467.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.09556, allocations: 4 kB / 467.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.09559, allocations: 19.91 kB / 467.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.09564, allocations: 15.81 kB / 467.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.09565, allocations: 0 / 467.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.0958, allocations: 43.97 kB / 468 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.09587, allocations: 19.92 kB / 468 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.09591, allocations: 23.8 kB / 468 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.09607, allocations: 79.75 kB / 468.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09608, allocations: 0 / 468.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09609, allocations: 0 / 468.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.09611, allocations: 0 / 468.1 MB, free: 9.516 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.0003737/0.09648, allocations: 386.9 kB / 468.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.09653, allocations: 11.97 kB / 468.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.0969, allocations: 116 kB / 468.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.09735, allocations: 352 kB / 469 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.09742, allocations: 150.9 kB / 469.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.09747, allocations: 150.9 kB / 469.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.09754, allocations: 109.2 kB / 469.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.09757, allocations: 79.28 kB / 469.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.09762, allocations: 150.6 kB / 469.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.09767, allocations: 158.6 kB / 469.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.09772, allocations: 150.6 kB / 469.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.09799, allocations: 469.9 kB / 470.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.09807, allocations: 169.1 kB / 470.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.0981, allocations: 80.14 kB / 470.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.09813, allocations: 75.28 kB / 470.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.09818, allocations: 117.8 kB / 470.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 3.748e-06/0.09819, allocations: 7.984 kB / 470.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.688e-05/0.09826, allocations: 33.61 kB / 470.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.09832, allocations: 130.7 kB / 470.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.09847, allocations: 159.4 kB / 471.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.0985, allocations: 25.7 kB / 471.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.09855, allocations: 108.1 kB / 471.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.09856, allocations: 0 / 471.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.09859, allocations: 17.66 kB / 471.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09869, allocations: 322.8 kB / 471.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.0987, allocations: 0 / 471.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.09871, allocations: 4 kB / 471.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.09875, allocations: 75.28 kB / 471.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.09877, allocations: 75.28 kB / 471.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.267e-05/0.09883, allocations: 33.61 kB / 471.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.09887, allocations: 84.78 kB / 471.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.0989, allocations: 87.27 kB / 471.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-05/0.09897, allocations: 158.5 kB / 472.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.071e-05/0.09899, allocations: 75.28 kB / 472.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.924e-05/0.09906, allocations: 158.5 kB / 472.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.09913, allocations: 79.28 kB / 472.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.09915, allocations: 79.22 kB / 472.5 MB, free: 4.926 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.0001167/0.09927, allocations: 284.3 kB / 472.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.09934, allocations: 116.7 kB / 472.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.09939, allocations: 113.5 kB / 473 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/0.09947, allocations: 184.2 kB / 473.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-05/0.09953, allocations: 176.3 kB / 473.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/0.0996, allocations: 184.2 kB / 473.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.09983, allocations: 429.1 kB / 473.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/0.09987, allocations: 101 kB / 474 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.0999, allocations: 104.9 kB / 474.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.225e-05/0.09997, allocations: 184.2 kB / 474.3 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.1, allocations: 184.2 kB / 474.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-05/0.1001, allocations: 184.3 kB / 474.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.003e-05/0.1002, allocations: 184.2 kB / 474.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.1003, allocations: 307.7 kB / 475.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.1004, allocations: 193.9 kB / 475.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.1005, allocations: 180.3 kB / 475.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1006, allocations: 108.9 kB / 475.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.1006, allocations: 184.7 kB / 475.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.1007, allocations: 101 kB / 475.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.211e-05/0.1008, allocations: 124.9 kB / 476 MB, free: 1.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1008, allocations: 3.938 kB / 476 MB, free: 1.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.101, allocations: 4 kB / 476 MB, free: 1.145 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.0001242/0.1012, allocations: 182.5 kB / 476.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.645e-05/0.1012, allocations: 4 kB / 476.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1012, allocations: 0 / 476.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1012, allocations: 64 / 476.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1016, allocations: 463.7 kB / 476.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1019, allocations: 252.7 kB / 476.9 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1022, allocations: 0.7002 MB / 477.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.1023, allocations: 4 kB / 477.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.1023, allocations: 7.438 kB / 477.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1023, allocations: 0 / 477.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Templates: time 0.002433/0.1047, allocations: 484.6 kB / 478.1 MB, free: 15.02 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 gbode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)