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.001325/0.001325, allocations: 110.3 kB / 16.41 MB, free: 5.984 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.445 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.001331/0.001331, allocations: 199.4 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03594/0.03594, allocations: 8.808 MB / 349.3 MB, free: 4.535 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 75.88 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08923, allocations: 51.56 MB / 0.504 GB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002258/0.09152, allocations: 1.26 MB / 0.5053 GB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.09334, allocations: 1.16 MB / 0.5064 GB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.0934, allocations: 4 kB / 0.5064 GB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.09385, allocations: 83.62 kB / 0.5065 GB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.09483, allocations: 394.5 kB / 0.5069 GB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-06/0.09485, allocations: 0 / 0.5069 GB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.09634, allocations: 0.952 MB / 0.5078 GB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.0964, allocations: 15.97 kB / 0.5078 GB, free: 5.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.09643, allocations: 11.94 kB / 0.5078 GB, free: 5.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.09647, allocations: 11.88 kB / 0.5078 GB, free: 5.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.09648, allocations: 0 / 0.5078 GB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.09663, allocations: 43.97 kB / 0.5079 GB, free: 5.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.09669, allocations: 19.91 kB / 0.5079 GB, free: 5.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.09673, allocations: 19.81 kB / 0.5079 GB, free: 5.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.0969, allocations: 79.56 kB / 0.508 GB, free: 5.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09691, allocations: 0 / 0.508 GB, free: 5.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.09692, allocations: 0 / 0.508 GB, free: 5.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09693, allocations: 0 / 0.508 GB, free: 5.34 MB / 350.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.0003482/0.09728, allocations: 398.8 kB / 0.5084 GB, free: 4.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.09733, allocations: 8.031 kB / 0.5084 GB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.0977, allocations: 112.1 kB / 0.5085 GB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.09813, allocations: 344.1 kB / 0.5088 GB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.09821, allocations: 158.9 kB / 0.509 GB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.09828, allocations: 154.9 kB / 0.5091 GB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.09837, allocations: 105.3 kB / 0.5092 GB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.09841, allocations: 75.28 kB / 0.5093 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.09848, allocations: 150.6 kB / 0.5094 GB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.09855, allocations: 150.6 kB / 0.5096 GB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.09862, allocations: 158.5 kB / 0.5097 GB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.09896, allocations: 469.9 kB / 0.5102 GB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.09907, allocations: 165.1 kB / 0.5103 GB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.09912, allocations: 80.14 kB / 0.5104 GB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.09916, allocations: 79.28 kB / 0.5105 GB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.09922, allocations: 109.8 kB / 0.5106 GB, free: 2.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.09923, allocations: 0 / 0.5106 GB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.858e-05/0.09933, allocations: 41.58 kB / 0.5106 GB, free: 2.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.09938, allocations: 55.41 kB / 0.5107 GB, free: 2.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.09957, allocations: 163.4 kB / 0.5108 GB, free: 2.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.09959, allocations: 25.7 kB / 0.5109 GB, free: 2.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.09966, allocations: 104.1 kB / 0.511 GB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.09967, allocations: 0 / 0.511 GB, free: 2.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.0997, allocations: 13.66 kB / 0.511 GB, free: 2.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.09984, allocations: 326.9 kB / 0.5113 GB, free: 1.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.09985, allocations: 0 / 0.5113 GB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-06/0.09986, allocations: 0 / 0.5113 GB, free: 1.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.0999, allocations: 75.28 kB / 0.5114 GB, free: 1.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.225e-05/0.09994, allocations: 83.28 kB / 0.5114 GB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.521e-05/0.1, allocations: 41.66 kB / 0.5115 GB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.1001, allocations: 87.16 kB / 0.5116 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/0.1001, allocations: 79.27 kB / 0.5116 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-05/0.1002, allocations: 154.6 kB / 0.5118 GB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.333e-05/0.1002, allocations: 79.22 kB / 0.5119 GB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.517e-05/0.1003, allocations: 150.6 kB / 0.512 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.1004, allocations: 83.22 kB / 0.5121 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1004, allocations: 79.28 kB / 0.5122 GB, free: 0.8281 MB / 350.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.0001203/0.1005, allocations: 272.3 kB / 0.5124 GB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1006, allocations: 124.8 kB / 0.5125 GB, free: 432 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1006, allocations: 121.5 kB / 0.5127 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/0.1007, allocations: 176.3 kB / 0.5128 GB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.1007, allocations: 108.9 kB / 0.5129 GB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.1008, allocations: 186 kB / 0.5131 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.1009, allocations: 184.2 kB / 0.5133 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.101, allocations: 104.9 kB / 0.5134 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1011, allocations: 180.3 kB / 0.5135 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.602e-05/0.1011, allocations: 267.5 kB / 0.5138 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001405/0.1013, allocations: 391 kB / 0.5142 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.704e-05/0.1013, allocations: 104.9 kB / 0.5143 GB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.1014, allocations: 132.9 kB / 0.5144 GB, free: 14.4 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.1014, allocations: 0 / 0.5144 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.1018, allocations: 98.69 kB / 0.5145 GB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005801/0.1024, allocations: 0.9948 MB / 0.5155 GB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003012/0.1054, allocations: 0.7666 MB / 0.5162 GB, free: 12.49 MB / 366.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)