Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.402 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.001262/0.001262, allocations: 188 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0344/0.0344, allocations: 8.796 MB / 349.3 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 84.06 kB / 412.5 MB, free: 41.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08923, allocations: 51.56 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002388/0.09166, allocations: 1.239 MB / 465.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.09365, allocations: 1.144 MB / 466.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.09371, allocations: 0 / 466.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.09418, allocations: 87.67 kB / 466.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.09513, allocations: 402.5 kB / 467 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.09515, allocations: 0 / 467 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.0966, allocations: 0.9637 MB / 467.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.09666, allocations: 4 kB / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.09669, allocations: 15.91 kB / 467.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.09674, allocations: 15.88 kB / 468 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.09676, allocations: 3.938 kB / 468 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.09692, allocations: 43.91 kB / 468 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.09699, allocations: 19.91 kB / 468 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.09703, allocations: 27.81 kB / 468 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.09721, allocations: 71.75 kB / 468.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.09722, allocations: 4 kB / 468.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09723, allocations: 0 / 468.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.09724, allocations: 0 / 468.1 MB, free: 9.484 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.0003991/0.09765, allocations: 386.9 kB / 468.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.09769, allocations: 8.031 kB / 468.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.09806, allocations: 116.1 kB / 468.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.09849, allocations: 351.9 kB / 469 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.09855, allocations: 150.9 kB / 469.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.0986, allocations: 150.9 kB / 469.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.611e-05/0.09867, allocations: 109.3 kB / 469.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.09871, allocations: 79.28 kB / 469.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.09877, allocations: 150.6 kB / 469.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.09882, allocations: 150.6 kB / 469.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.09888, allocations: 154.5 kB / 469.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.09916, allocations: 469.9 kB / 470.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.09924, allocations: 173.1 kB / 470.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.09928, allocations: 80.14 kB / 470.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.09931, allocations: 75.28 kB / 470.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.09937, allocations: 113.7 kB / 470.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.09938, allocations: 0 / 470.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.152e-05/0.09946, allocations: 37.61 kB / 470.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.09952, allocations: 130.7 kB / 470.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.09969, allocations: 163.4 kB / 471.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.09972, allocations: 29.7 kB / 471.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.09978, allocations: 100.1 kB / 471.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-06/0.09979, allocations: 3.938 kB / 471.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.09981, allocations: 9.719 kB / 471.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.09994, allocations: 322.8 kB / 471.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.09996, allocations: 4 kB / 471.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-06/0.09997, allocations: 0 / 471.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.1, allocations: 79.28 kB / 471.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.1, allocations: 79.22 kB / 471.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.59e-05/0.1001, allocations: 37.61 kB / 471.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.1002, allocations: 85.25 kB / 471.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.1002, allocations: 75.33 kB / 471.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-05/0.1003, allocations: 166.5 kB / 472.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.1003, allocations: 79.28 kB / 472.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.005e-05/0.1004, allocations: 158.4 kB / 472.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.1004, allocations: 75.28 kB / 472.4 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1005, allocations: 75.28 kB / 472.5 MB, free: 4.906 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.0001338/0.1006, allocations: 280.3 kB / 472.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.1007, allocations: 124.7 kB / 472.8 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.1007, allocations: 121.5 kB / 473 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.93e-05/0.1008, allocations: 180.2 kB / 473.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.827e-05/0.1009, allocations: 176.3 kB / 473.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-05/0.101, allocations: 180.3 kB / 473.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1012, allocations: 429.1 kB / 473.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.1013, allocations: 101 kB / 474 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.1013, allocations: 108.9 kB / 474.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.364e-05/0.1014, allocations: 184.2 kB / 474.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.1014, allocations: 176.3 kB / 474.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.1015, allocations: 180.2 kB / 474.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.95e-05/0.1016, allocations: 188.3 kB / 474.8 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1017, allocations: 311.7 kB / 475.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1018, allocations: 189.9 kB / 475.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.1019, allocations: 180.2 kB / 475.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.1019, allocations: 113 kB / 475.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.102, allocations: 184.6 kB / 475.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.102, allocations: 105 kB / 475.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.1021, allocations: 124.9 kB / 476 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.1021, allocations: 0 / 476 MB, free: 1.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1024, allocations: 7.938 kB / 476 MB, free: 1.117 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.000128/0.1025, allocations: 178.5 kB / 476.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.709e-05/0.1026, allocations: 7.938 kB / 476.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1026, allocations: 0 / 476.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1026, allocations: 0 / 476.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.103, allocations: 463.7 kB / 476.6 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.1034, allocations: 252.8 kB / 476.9 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1037, allocations: 0.6963 MB / 477.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.084e-05/0.1037, allocations: 4 kB / 477.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.1037, allocations: 11.44 kB / 477.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1037, allocations: 0 / 477.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of Templates: time 0.002449/0.1062, allocations: 472 kB / 478.1 MB, free: 15 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)