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.001563/0.001563, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.339/1.339, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001289/0.001289, allocations: 188.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03674/0.03674, allocations: 8.792 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1105, allocations: 51.55 MB / 0.504 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002877/0.1134, allocations: 1.256 MB / 0.5053 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1159, allocations: 1.156 MB / 0.5064 GB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.116, allocations: 0 / 0.5064 GB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.1165, allocations: 75.69 kB / 0.5065 GB, free: 7.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1177, allocations: 394.5 kB / 0.5068 GB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.639e-06/0.1177, allocations: 0 / 0.5068 GB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.1199, allocations: 0.9637 MB / 0.5078 GB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1199, allocations: 4 kB / 0.5078 GB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.12, allocations: 11.94 kB / 0.5078 GB, free: 5.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.12, allocations: 15.86 kB / 0.5078 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1201, allocations: 0 / 0.5078 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1203, allocations: 47.97 kB / 0.5079 GB, free: 5.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1203, allocations: 15.92 kB / 0.5079 GB, free: 5.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1204, allocations: 27.73 kB / 0.5079 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1206, allocations: 83.69 kB / 0.508 GB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1206, allocations: 0 / 0.508 GB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1207, allocations: 0 / 0.508 GB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1207, allocations: 0 / 0.508 GB, free: 5.484 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.0003712/0.1211, allocations: 387 kB / 0.5084 GB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1211, allocations: 8.031 kB / 0.5084 GB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.1216, allocations: 108.1 kB / 0.5085 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.1222, allocations: 355.9 kB / 0.5088 GB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.1223, allocations: 154.9 kB / 0.509 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.1224, allocations: 154.9 kB / 0.5091 GB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.256e-05/0.1224, allocations: 105.3 kB / 0.5092 GB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.1225, allocations: 75.28 kB / 0.5093 GB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.1226, allocations: 154.6 kB / 0.5094 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.1226, allocations: 154.6 kB / 0.5096 GB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.1227, allocations: 150.6 kB / 0.5097 GB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.1231, allocations: 469.9 kB / 0.5102 GB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.1232, allocations: 169.1 kB / 0.5103 GB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.1232, allocations: 80.14 kB / 0.5104 GB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1233, allocations: 75.28 kB / 0.5105 GB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.1233, allocations: 113.8 kB / 0.5106 GB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 3.236e-06/0.1234, allocations: 3.984 kB / 0.5106 GB, free: 2.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.568e-05/0.1235, allocations: 41.55 kB / 0.5106 GB, free: 2.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1235, allocations: 55.41 kB / 0.5107 GB, free: 2.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1237, allocations: 169 kB / 0.5108 GB, free: 2.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1237, allocations: 25.7 kB / 0.5109 GB, free: 2.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.1238, allocations: 104.1 kB / 0.511 GB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1238, allocations: 0 / 0.511 GB, free: 2.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1239, allocations: 9.719 kB / 0.511 GB, free: 2.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.124, allocations: 318.8 kB / 0.5113 GB, free: 1.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.124, allocations: 48 / 0.5113 GB, free: 1.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-06/0.1241, allocations: 11.94 kB / 0.5113 GB, free: 1.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.1241, allocations: 79.27 kB / 0.5114 GB, free: 1.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.1242, allocations: 79.28 kB / 0.5114 GB, free: 1.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001027/0.1243, allocations: 33.61 kB / 0.5115 GB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.1243, allocations: 87.16 kB / 0.5115 GB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/0.1244, allocations: 75.28 kB / 0.5116 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-05/0.1245, allocations: 154.6 kB / 0.5118 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.1245, allocations: 83.22 kB / 0.5118 GB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-05/0.1245, allocations: 154.6 kB / 0.512 GB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1246, allocations: 79.22 kB / 0.5121 GB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1247, allocations: 83.27 kB / 0.5121 GB, free: 0.9727 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.0001562/0.1248, allocations: 276.3 kB / 0.5124 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.125, allocations: 120.8 kB / 0.5125 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.125, allocations: 117.5 kB / 0.5126 GB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.92e-05/0.1251, allocations: 176.3 kB / 0.5128 GB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.1252, allocations: 112.9 kB / 0.5129 GB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1253, allocations: 186 kB / 0.5131 GB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.1254, allocations: 176.3 kB / 0.5133 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1255, allocations: 104.9 kB / 0.5134 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.1256, allocations: 188.2 kB / 0.5135 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001062/0.1257, allocations: 259.5 kB / 0.5138 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002101/0.1259, allocations: 390.9 kB / 0.5142 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.121e-05/0.126, allocations: 108.9 kB / 0.5143 GB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1262, allocations: 127.9 kB / 0.5144 GB, free: 14.55 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.1262, allocations: 0 / 0.5144 GB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.1268, allocations: 100.1 kB / 0.5145 GB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007713/0.1275, allocations: 0.9949 MB / 0.5155 GB, free: 13.4 MB / 366.1 MB Notification: Performance of Templates: time 0.003347/0.1309, allocations: 0.7556 MB / 0.5162 GB, free: 12.65 MB / 366.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 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)