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.006586/0.006586, allocations: 99.84 kB / 15.73 MB, free: 6.047 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.509/1.509, allocations: 222.9 MB / 239.4 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.001648/0.001648, allocations: 191.4 kB / 289.7 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.03427/0.03427, allocations: 8.79 MB / 348.6 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 75.88 kB / 463.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1184, allocations: 51.57 MB / 0.5034 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.003041/0.1215, allocations: 1.242 MB / 0.5046 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1236, allocations: 1.16 MB / 0.5057 GB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1237, allocations: 0 / 0.5057 GB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.1243, allocations: 75.7 kB / 0.5058 GB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.1256, allocations: 398.3 kB / 0.5062 GB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.313e-06/0.1256, allocations: 0 / 0.5062 GB, free: 6.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.1272, allocations: 0.9677 MB / 0.5071 GB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.1273, allocations: 4 kB / 0.5071 GB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.1273, allocations: 15.86 kB / 0.5071 GB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.1274, allocations: 15.86 kB / 0.5072 GB, free: 5.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1274, allocations: 4 kB / 0.5072 GB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1276, allocations: 35.98 kB / 0.5072 GB, free: 5.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.1276, allocations: 19.92 kB / 0.5072 GB, free: 5.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1277, allocations: 31.78 kB / 0.5072 GB, free: 5.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1279, allocations: 71.77 kB / 0.5073 GB, free: 5.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1279, allocations: 3.938 kB / 0.5073 GB, free: 5.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1279, allocations: 4 kB / 0.5073 GB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1279, allocations: 0 / 0.5073 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.0004317/0.1284, allocations: 383 kB / 0.5077 GB, free: 5.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1284, allocations: 8.031 kB / 0.5077 GB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.1289, allocations: 112.1 kB / 0.5078 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.1294, allocations: 351.9 kB / 0.5081 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.1294, allocations: 150.9 kB / 0.5083 GB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1295, allocations: 150.9 kB / 0.5084 GB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.1296, allocations: 109.2 kB / 0.5085 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.1296, allocations: 87.28 kB / 0.5086 GB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.1297, allocations: 150.6 kB / 0.5087 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.1297, allocations: 150.6 kB / 0.5089 GB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.1298, allocations: 150.6 kB / 0.509 GB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1302, allocations: 461.9 kB / 0.5095 GB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.1303, allocations: 177.1 kB / 0.5096 GB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.1303, allocations: 80.14 kB / 0.5097 GB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.1304, allocations: 75.28 kB / 0.5098 GB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.1305, allocations: 113.8 kB / 0.5099 GB, free: 2.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.1305, allocations: 0 / 0.5099 GB, free: 2.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.622e-05/0.1306, allocations: 41.66 kB / 0.5099 GB, free: 2.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.1306, allocations: 130.6 kB / 0.5101 GB, free: 2.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1308, allocations: 169 kB / 0.5102 GB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1309, allocations: 29.64 kB / 0.5103 GB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.131, allocations: 108.1 kB / 0.5104 GB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.131, allocations: 0 / 0.5104 GB, free: 2.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.131, allocations: 9.719 kB / 0.5104 GB, free: 2.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1312, allocations: 318.8 kB / 0.5107 GB, free: 1.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-06/0.1312, allocations: 4 kB / 0.5107 GB, free: 1.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.1312, allocations: 3.984 kB / 0.5107 GB, free: 1.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.1313, allocations: 79.22 kB / 0.5108 GB, free: 1.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/0.1314, allocations: 75.28 kB / 0.5108 GB, free: 1.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.471e-05/0.1314, allocations: 37.61 kB / 0.5109 GB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.1315, allocations: 84.78 kB / 0.5109 GB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.1315, allocations: 79.22 kB / 0.511 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/0.1316, allocations: 154.6 kB / 0.5112 GB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.1316, allocations: 87.22 kB / 0.5113 GB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.764e-05/0.1317, allocations: 150.6 kB / 0.5114 GB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.1318, allocations: 79.27 kB / 0.5115 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1318, allocations: 79.22 kB / 0.5115 GB, free: 0.9062 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.0001463/0.132, allocations: 276.3 kB / 0.5118 GB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.132, allocations: 116.8 kB / 0.5119 GB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.1321, allocations: 117.5 kB / 0.512 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/0.1322, allocations: 184.2 kB / 0.5122 GB, free: 196 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-05/0.1323, allocations: 176.3 kB / 0.5124 GB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.752e-05/0.1324, allocations: 180.2 kB / 0.5125 GB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1327, allocations: 425.2 kB / 0.513 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.936e-05/0.1328, allocations: 104.9 kB / 0.5131 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.1328, allocations: 113 kB / 0.5132 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.848e-05/0.1329, allocations: 180.2 kB / 0.5133 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/0.133, allocations: 184.2 kB / 0.5135 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.697e-05/0.1331, allocations: 180.2 kB / 0.5137 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-05/0.1332, allocations: 188.2 kB / 0.5139 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1334, allocations: 303.7 kB / 0.5142 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1335, allocations: 206.2 kB / 0.5143 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.1336, allocations: 176.3 kB / 0.5145 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.1337, allocations: 108.9 kB / 0.5146 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.1338, allocations: 184.3 kB / 0.5148 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.1338, allocations: 101 kB / 0.5149 GB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.134, allocations: 131.9 kB / 0.515 GB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.134, allocations: 0 / 0.515 GB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1343, allocations: 4 kB / 0.515 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.0001397/0.1344, allocations: 174.5 kB / 0.5152 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.137e-05/0.1345, allocations: 0 / 0.5152 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1345, allocations: 4 kB / 0.5152 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.1345, allocations: 3.938 kB / 0.5152 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.0004841/0.135, allocations: 467.6 kB / 0.5156 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.1354, allocations: 248.8 kB / 0.5159 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1357, allocations: 0.7 MB / 0.5166 GB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.1357, allocations: 7.984 kB / 0.5166 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.1358, allocations: 7.438 kB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1358, allocations: 4 kB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003106/0.1389, allocations: 470.5 kB / 0.517 GB, free: 11 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)