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.001492/0.001492, allocations: 100.6 kB / 16.41 MB, free: 6.512 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.432/1.432, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001522/0.001522, allocations: 191.8 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03471/0.03471, allocations: 8.797 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 75.88 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 51.57 MB / 0.504 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002505/0.1146, allocations: 1.246 MB / 0.5053 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1169, allocations: 1.16 MB / 0.5064 GB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.117, allocations: 0 / 0.5064 GB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.1175, allocations: 79.69 kB / 0.5065 GB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.1187, allocations: 382.5 kB / 0.5068 GB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.583e-06/0.1188, allocations: 4 kB / 0.5068 GB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.1204, allocations: 0.9637 MB / 0.5078 GB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.1205, allocations: 8 kB / 0.5078 GB, free: 5.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1205, allocations: 11.92 kB / 0.5078 GB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.1206, allocations: 11.88 kB / 0.5078 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1206, allocations: 4 kB / 0.5078 GB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1209, allocations: 43.91 kB / 0.5079 GB, free: 5.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.121, allocations: 19.91 kB / 0.5079 GB, free: 5.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.121, allocations: 23.81 kB / 0.5079 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1213, allocations: 71.75 kB / 0.508 GB, free: 5.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1213, allocations: 8 kB / 0.508 GB, free: 5.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1213, allocations: 4 kB / 0.508 GB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1213, 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.000541/0.1219, allocations: 383 kB / 0.5083 GB, free: 5.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1219, allocations: 8.031 kB / 0.5084 GB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.1225, allocations: 112.1 kB / 0.5085 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.123, allocations: 351.9 kB / 0.5088 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.1231, allocations: 150.9 kB / 0.5089 GB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.1232, allocations: 154.9 kB / 0.5091 GB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.1233, allocations: 109.3 kB / 0.5092 GB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.1233, allocations: 79.28 kB / 0.5093 GB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.1234, allocations: 154.6 kB / 0.5094 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.1234, allocations: 154.5 kB / 0.5096 GB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.1235, allocations: 154.6 kB / 0.5097 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1239, allocations: 457.9 kB / 0.5101 GB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.124, allocations: 173.1 kB / 0.5103 GB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.124, allocations: 84.14 kB / 0.5104 GB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1241, allocations: 75.28 kB / 0.5105 GB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1241, allocations: 113.7 kB / 0.5106 GB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.1241, allocations: 0 / 0.5106 GB, free: 2.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.071e-05/0.1242, allocations: 37.61 kB / 0.5106 GB, free: 2.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1243, allocations: 126.7 kB / 0.5107 GB, free: 2.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1245, allocations: 173 kB / 0.5109 GB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1245, allocations: 25.7 kB / 0.5109 GB, free: 2.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.1245, allocations: 104.1 kB / 0.511 GB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.1246, allocations: 0 / 0.511 GB, free: 2.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1246, allocations: 17.64 kB / 0.511 GB, free: 2.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1247, allocations: 318.9 kB / 0.5113 GB, free: 1.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.1247, allocations: 4 kB / 0.5113 GB, free: 1.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.1247, allocations: 3.938 kB / 0.5113 GB, free: 1.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.1248, allocations: 83.22 kB / 0.5114 GB, free: 1.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.1248, allocations: 75.28 kB / 0.5115 GB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.576e-05/0.1249, allocations: 41.59 kB / 0.5115 GB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1249, allocations: 83.22 kB / 0.5116 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.1249, allocations: 75.28 kB / 0.5117 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.635e-05/0.125, allocations: 154.5 kB / 0.5118 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.176e-05/0.125, allocations: 79.28 kB / 0.5119 GB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.851e-05/0.1251, allocations: 158.5 kB / 0.5121 GB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.1252, allocations: 79.28 kB / 0.5121 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1252, allocations: 79.28 kB / 0.5122 GB, free: 0.9023 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.0001217/0.1253, allocations: 276.3 kB / 0.5125 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.1254, allocations: 120.8 kB / 0.5126 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.1254, allocations: 113.5 kB / 0.5127 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.545e-05/0.1255, allocations: 184.2 kB / 0.5129 GB, free: 192 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.452e-05/0.1256, allocations: 184.2 kB / 0.5131 GB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/0.1256, allocations: 176.3 kB / 0.5132 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1259, allocations: 421.2 kB / 0.5136 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.1259, allocations: 109 kB / 0.5137 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.126, allocations: 108.9 kB / 0.5138 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.673e-05/0.126, allocations: 184.2 kB / 0.514 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.1261, allocations: 176.3 kB / 0.5142 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-05/0.1261, allocations: 184.2 kB / 0.5143 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.1262, allocations: 184.2 kB / 0.5145 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1263, allocations: 307.7 kB / 0.5148 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.1264, allocations: 202.2 kB / 0.515 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.1265, allocations: 180.2 kB / 0.5152 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.1266, allocations: 101 kB / 0.5153 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1267, allocations: 192.2 kB / 0.5155 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.1267, allocations: 101 kB / 0.5156 GB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.179e-05/0.1268, allocations: 127.9 kB / 0.5157 GB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1268, allocations: 0 / 0.5157 GB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1271, allocations: 4 kB / 0.5157 GB, free: 13.12 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.0001301/0.1272, allocations: 166.5 kB / 0.5158 GB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.818e-05/0.1272, allocations: 7.938 kB / 0.5158 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.1273, allocations: 4 kB / 0.5159 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1273, allocations: 3.938 kB / 0.5159 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1277, allocations: 467.7 kB / 0.5163 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.1281, allocations: 270.5 kB / 0.5166 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1284, allocations: 0.7055 MB / 0.5172 GB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.1284, allocations: 11.44 kB / 0.5173 GB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1284, allocations: 0 / 0.5173 GB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.00242/0.1308, allocations: 0.8533 MB / 0.5181 GB, free: 10.57 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)