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.001235/0.001234, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.384/1.384, allocations: 222.9 MB / 240.1 MB, free: 4.539 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.001472/0.001472, allocations: 188.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0346/0.0346, allocations: 8.797 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 76.06 kB / 464.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 51.57 MB / 0.504 GB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002642/0.111, allocations: 1.246 MB / 0.5053 GB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.113, allocations: 1.16 MB / 0.5064 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1131, allocations: 0 / 0.5064 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.1136, allocations: 75.69 kB / 0.5065 GB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1148, allocations: 398.5 kB / 0.5068 GB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.552e-06/0.1148, allocations: 0 / 0.5068 GB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.1163, allocations: 0.9598 MB / 0.5078 GB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1164, allocations: 8 kB / 0.5078 GB, free: 5.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.1164, allocations: 15.94 kB / 0.5078 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.1165, allocations: 19.84 kB / 0.5078 GB, free: 5.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1165, allocations: 0 / 0.5078 GB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1166, allocations: 35.98 kB / 0.5079 GB, free: 5.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1167, allocations: 23.91 kB / 0.5079 GB, free: 5.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.1168, allocations: 23.8 kB / 0.5079 GB, free: 5.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.117, allocations: 75.7 kB / 0.508 GB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.117, allocations: 7.984 kB / 0.508 GB, free: 5.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.117, allocations: 0 / 0.508 GB, free: 5.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.117, allocations: 0 / 0.508 GB, free: 5.586 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.0004078/0.1174, allocations: 383 kB / 0.5083 GB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1175, allocations: 12.03 kB / 0.5084 GB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/0.1179, allocations: 104.1 kB / 0.5085 GB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.1184, allocations: 355.9 kB / 0.5088 GB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.1184, allocations: 158.9 kB / 0.5089 GB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1185, allocations: 150.9 kB / 0.5091 GB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.558e-05/0.1186, allocations: 105.3 kB / 0.5092 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1186, allocations: 75.28 kB / 0.5093 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.1187, allocations: 154.6 kB / 0.5094 GB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.1187, allocations: 150.6 kB / 0.5096 GB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.1188, allocations: 150.6 kB / 0.5097 GB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.1191, allocations: 465.9 kB / 0.5101 GB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.678e-05/0.1191, allocations: 177 kB / 0.5103 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.1192, allocations: 84.14 kB / 0.5104 GB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.1192, allocations: 75.28 kB / 0.5105 GB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.1193, allocations: 109.8 kB / 0.5106 GB, free: 2.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.1193, allocations: 4 kB / 0.5106 GB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.531e-05/0.1194, allocations: 37.55 kB / 0.5106 GB, free: 2.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1195, allocations: 126.7 kB / 0.5107 GB, free: 2.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1196, allocations: 177 kB / 0.5109 GB, free: 2.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1196, allocations: 25.7 kB / 0.5109 GB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1197, allocations: 100.1 kB / 0.511 GB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.1197, allocations: 0 / 0.511 GB, free: 2.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.1197, allocations: 13.72 kB / 0.511 GB, free: 2.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1199, allocations: 318.9 kB / 0.5113 GB, free: 1.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.1199, allocations: 7.938 kB / 0.5113 GB, free: 1.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-06/0.1199, allocations: 0 / 0.5113 GB, free: 1.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.1199, allocations: 83.28 kB / 0.5114 GB, free: 1.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.1199, allocations: 75.28 kB / 0.5115 GB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.909e-05/0.12, allocations: 37.61 kB / 0.5115 GB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.1201, allocations: 87.16 kB / 0.5116 GB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.1201, allocations: 79.28 kB / 0.5117 GB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.28e-05/0.1202, allocations: 150.6 kB / 0.5118 GB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/0.1202, allocations: 79.22 kB / 0.5119 GB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.096e-05/0.1202, allocations: 154.6 kB / 0.5121 GB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.1203, allocations: 87.2 kB / 0.5121 GB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1204, allocations: 79.28 kB / 0.5122 GB, free: 1.004 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.0001215/0.1205, allocations: 276.3 kB / 0.5125 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1206, allocations: 112.8 kB / 0.5126 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1206, allocations: 121.5 kB / 0.5127 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.1207, allocations: 184.2 kB / 0.5129 GB, free: 296 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-05/0.1208, allocations: 180.2 kB / 0.513 GB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.301e-05/0.1208, allocations: 180.3 kB / 0.5132 GB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1211, allocations: 421.2 kB / 0.5136 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.1211, allocations: 112.9 kB / 0.5137 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.1212, allocations: 101 kB / 0.5138 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.37e-05/0.1212, allocations: 188.1 kB / 0.514 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.1213, allocations: 180.3 kB / 0.5142 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.058e-05/0.1214, allocations: 180.2 kB / 0.5143 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.1214, allocations: 180.2 kB / 0.5145 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1216, allocations: 315.7 kB / 0.5148 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.1217, allocations: 194.2 kB / 0.515 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.1217, allocations: 180.3 kB / 0.5152 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1218, allocations: 104.9 kB / 0.5153 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1219, allocations: 192.2 kB / 0.5155 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.1219, allocations: 104.9 kB / 0.5156 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.367e-05/0.122, allocations: 127.9 kB / 0.5157 GB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.122, allocations: 0 / 0.5157 GB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1223, allocations: 4 kB / 0.5157 GB, free: 13.21 MB / 366.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.000144/0.1225, allocations: 170.5 kB / 0.5159 GB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.714e-05/0.1225, allocations: 0 / 0.5159 GB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1225, allocations: 7.938 kB / 0.5159 GB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.1225, allocations: 0 / 0.5159 GB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.123, allocations: 467.7 kB / 0.5163 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.1234, allocations: 274.5 kB / 0.5166 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1237, allocations: 0.7039 MB / 0.5173 GB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.1237, allocations: 7.438 kB / 0.5173 GB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1237, allocations: 0 / 0.5173 GB, free: 11.53 MB / 366.1 MB Notification: Performance of Templates: time 0.002542/0.1263, allocations: 0.8534 MB / 0.5181 GB, free: 10.68 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)