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.001003/0.001003, allocations: 115.6 kB / 16.42 MB, free: 6.477 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.317/1.317, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001274/0.001274, allocations: 196.3 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03642/0.03642, allocations: 8.792 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 87.88 kB / 464.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 51.55 MB / 0.5041 GB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002771/0.1075, allocations: 1.258 MB / 0.5053 GB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1099, allocations: 1.156 MB / 0.5064 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.1099, allocations: 4 kB / 0.5064 GB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.1104, allocations: 79.69 kB / 0.5065 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.1116, allocations: 394.4 kB / 0.5069 GB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.1116, allocations: 0 / 0.5069 GB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.1136, allocations: 0.9598 MB / 0.5078 GB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1137, allocations: 11.97 kB / 0.5078 GB, free: 5.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.1137, allocations: 7.938 kB / 0.5078 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.1138, allocations: 15.86 kB / 0.5078 GB, free: 5.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1138, allocations: 0 / 0.5078 GB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.114, allocations: 47.97 kB / 0.5079 GB, free: 5.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.114, allocations: 15.92 kB / 0.5079 GB, free: 5.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.1141, allocations: 23.81 kB / 0.5079 GB, free: 5.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1143, allocations: 79.67 kB / 0.508 GB, free: 5.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1143, allocations: 0 / 0.508 GB, free: 5.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1143, allocations: 0 / 0.508 GB, free: 5.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1143, allocations: 0 / 0.508 GB, free: 5.59 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.0004101/0.1148, allocations: 387 kB / 0.5084 GB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1148, allocations: 8.031 kB / 0.5084 GB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.1153, allocations: 112.1 kB / 0.5085 GB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.1158, allocations: 351.9 kB / 0.5088 GB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.1159, allocations: 154.9 kB / 0.509 GB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.116, allocations: 150.9 kB / 0.5091 GB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/0.116, allocations: 109.3 kB / 0.5092 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.1161, allocations: 75.28 kB / 0.5093 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.1162, allocations: 150.6 kB / 0.5094 GB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.1162, allocations: 154.6 kB / 0.5096 GB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.765e-05/0.1163, allocations: 158.6 kB / 0.5097 GB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1166, allocations: 469.9 kB / 0.5102 GB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.1167, allocations: 165.1 kB / 0.5103 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.1168, allocations: 80.14 kB / 0.5104 GB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1168, allocations: 79.28 kB / 0.5105 GB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.1169, allocations: 109.8 kB / 0.5106 GB, free: 2.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.1169, allocations: 4 kB / 0.5106 GB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.995e-05/0.117, allocations: 41.53 kB / 0.5106 GB, free: 2.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.117, allocations: 55.41 kB / 0.5107 GB, free: 2.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1172, allocations: 165 kB / 0.5108 GB, free: 2.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1172, allocations: 25.7 kB / 0.5109 GB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.1173, allocations: 100.1 kB / 0.511 GB, free: 2.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1173, allocations: 3.938 kB / 0.511 GB, free: 2.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1174, allocations: 17.72 kB / 0.511 GB, free: 2.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1175, allocations: 330.9 kB / 0.5113 GB, free: 1.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.1175, allocations: 0 / 0.5113 GB, free: 1.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.1175, allocations: 0 / 0.5113 GB, free: 1.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.1176, allocations: 79.22 kB / 0.5114 GB, free: 1.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.1176, allocations: 75.28 kB / 0.5114 GB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.27e-05/0.1177, allocations: 33.61 kB / 0.5115 GB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.1177, allocations: 91.16 kB / 0.5116 GB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.1178, allocations: 75.28 kB / 0.5116 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.397e-05/0.1178, allocations: 158.5 kB / 0.5118 GB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.1179, allocations: 79.22 kB / 0.5119 GB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.712e-05/0.1179, allocations: 154.6 kB / 0.512 GB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1181, allocations: 83.22 kB / 0.5121 GB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1181, allocations: 75.28 kB / 0.5122 GB, free: 1.078 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.0001431/0.1183, allocations: 276.3 kB / 0.5124 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.1183, allocations: 116.8 kB / 0.5125 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.1184, allocations: 117.5 kB / 0.5126 GB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/0.1185, allocations: 176.3 kB / 0.5128 GB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/0.1185, allocations: 108.9 kB / 0.5129 GB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.1186, allocations: 186 kB / 0.5131 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1187, allocations: 188.2 kB / 0.5133 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1189, allocations: 104.9 kB / 0.5134 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.1189, allocations: 176.3 kB / 0.5135 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.41e-05/0.1191, allocations: 259.5 kB / 0.5138 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001836/0.1192, allocations: 398.8 kB / 0.5142 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.452e-05/0.1193, allocations: 104.9 kB / 0.5143 GB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1194, allocations: 127.9 kB / 0.5144 GB, free: 14.66 MB / 366.1 MB Notification: Performance of Backend: time 3.1e-07/0.1194, allocations: 0 / 0.5144 GB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.1199, allocations: 94.77 kB / 0.5145 GB, free: 14.56 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007285/0.1207, allocations: 0.9949 MB / 0.5155 GB, free: 13.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004017/0.1247, allocations: 0.7614 MB / 0.5162 GB, free: 12.76 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)