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.006839/0.006839, allocations: 100 kB / 15.73 MB, free: 6.004 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.49/1.49, allocations: 222.9 MB / 239.4 MB, free: 4.48 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.002196/0.002196, allocations: 188.5 kB / 289.7 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03601/0.03601, allocations: 8.786 MB / 348.6 MB, free: 4.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 79.88 kB / 463.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1308, allocations: 51.56 MB / 0.5034 GB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002518/0.1334, allocations: 1.248 MB / 0.5046 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1352, allocations: 1.164 MB / 0.5057 GB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.1352, allocations: 0 / 0.5057 GB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.1356, allocations: 79.69 kB / 0.5058 GB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008745/0.1365, allocations: 390.4 kB / 0.5062 GB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.1365, allocations: 0 / 0.5062 GB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.1379, allocations: 0.9637 MB / 0.5071 GB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.138, allocations: 11.92 kB / 0.5071 GB, free: 5.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.138, allocations: 15.92 kB / 0.5071 GB, free: 5.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.1381, allocations: 11.88 kB / 0.5072 GB, free: 5.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1381, allocations: 0 / 0.5072 GB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1382, allocations: 43.97 kB / 0.5072 GB, free: 5.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1383, allocations: 15.92 kB / 0.5072 GB, free: 5.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1383, allocations: 23.8 kB / 0.5072 GB, free: 5.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1385, allocations: 83.69 kB / 0.5073 GB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1385, allocations: 0 / 0.5073 GB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1385, allocations: 0 / 0.5073 GB, free: 5.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1385, allocations: 0 / 0.5073 GB, free: 5.406 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.0003904/0.1389, allocations: 387 kB / 0.5077 GB, free: 4.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.139, allocations: 8.031 kB / 0.5077 GB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.1393, allocations: 112.1 kB / 0.5078 GB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1398, allocations: 351.9 kB / 0.5081 GB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.1399, allocations: 150.9 kB / 0.5083 GB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1399, allocations: 154.9 kB / 0.5084 GB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.14, allocations: 105.3 kB / 0.5085 GB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.14, allocations: 75.28 kB / 0.5086 GB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.1401, allocations: 154.6 kB / 0.5087 GB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.1401, allocations: 150.6 kB / 0.5089 GB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.1402, allocations: 150.6 kB / 0.509 GB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1406, allocations: 469.9 kB / 0.5095 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1407, allocations: 173.1 kB / 0.5096 GB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.1407, allocations: 80.14 kB / 0.5097 GB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.1408, allocations: 75.28 kB / 0.5098 GB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.1408, allocations: 113.8 kB / 0.5099 GB, free: 2.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1408, allocations: 0 / 0.5099 GB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.794e-05/0.1409, allocations: 41.64 kB / 0.5099 GB, free: 2.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.141, allocations: 134.6 kB / 0.5101 GB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1412, allocations: 169 kB / 0.5102 GB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1412, allocations: 25.7 kB / 0.5103 GB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1412, allocations: 100.1 kB / 0.5103 GB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.1413, allocations: 0 / 0.5103 GB, free: 2.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1413, allocations: 13.72 kB / 0.5104 GB, free: 2.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1414, allocations: 318.8 kB / 0.5107 GB, free: 1.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.1414, allocations: 4 kB / 0.5107 GB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.1414, allocations: 15.94 kB / 0.5107 GB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.1414, allocations: 79.22 kB / 0.5108 GB, free: 1.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/0.1415, allocations: 75.28 kB / 0.5108 GB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.554e-05/0.1415, allocations: 33.61 kB / 0.5109 GB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.1416, allocations: 84.78 kB / 0.5109 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.1416, allocations: 83.22 kB / 0.511 GB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.574e-05/0.1417, allocations: 154.5 kB / 0.5112 GB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.1417, allocations: 83.22 kB / 0.5113 GB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.941e-05/0.1418, allocations: 150.6 kB / 0.5114 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1419, allocations: 79.28 kB / 0.5115 GB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.1419, allocations: 83.22 kB / 0.5116 GB, free: 0.8203 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.000124/0.142, allocations: 272.3 kB / 0.5118 GB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.1421, allocations: 120.8 kB / 0.5119 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.1421, allocations: 117.5 kB / 0.512 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.1422, allocations: 176.3 kB / 0.5122 GB, free: 116 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.498e-05/0.1423, allocations: 176.3 kB / 0.5124 GB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/0.1423, allocations: 188.2 kB / 0.5126 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1426, allocations: 421.2 kB / 0.513 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.1427, allocations: 112.9 kB / 0.5131 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.1428, allocations: 105 kB / 0.5132 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.867e-05/0.1428, allocations: 188.1 kB / 0.5133 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.1429, allocations: 180.3 kB / 0.5135 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001262/0.1431, allocations: 176.3 kB / 0.5137 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.418e-05/0.1431, allocations: 184.2 kB / 0.5139 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1433, allocations: 315.7 kB / 0.5142 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.1434, allocations: 190.2 kB / 0.5143 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.1435, allocations: 180.3 kB / 0.5145 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1436, allocations: 108.9 kB / 0.5146 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.1437, allocations: 188.3 kB / 0.5148 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.1438, allocations: 104.9 kB / 0.5149 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.062e-05/0.144, allocations: 124 kB / 0.515 GB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 0.515 GB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.1443, allocations: 4 kB / 0.515 GB, free: 13.04 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.0001745/0.1445, allocations: 174.5 kB / 0.5152 GB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.765e-05/0.1445, allocations: 4 kB / 0.5152 GB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1445, allocations: 0 / 0.5152 GB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1445, allocations: 3.938 kB / 0.5152 GB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.145, allocations: 467.7 kB / 0.5156 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1453, allocations: 248.8 kB / 0.5159 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1457, allocations: 0.7039 MB / 0.5166 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.1458, allocations: 0 / 0.5166 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.1458, allocations: 15.38 kB / 0.5166 GB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1458, allocations: 0 / 0.5166 GB, free: 11.37 MB / 366.1 MB Notification: Performance of Templates: time 0.002855/0.1486, allocations: 476.9 kB / 0.517 GB, free: 10.91 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)