Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008467/0.008467, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.456/1.456, 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.001576/0.001576, allocations: 192.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.05309/0.05309, allocations: 8.802 MB / 348.6 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 79.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1281, allocations: 51.57 MB / 0.5034 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002625/0.1307, allocations: 1.256 MB / 0.5046 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1328, allocations: 1.152 MB / 0.5057 GB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1328, allocations: 0 / 0.5057 GB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.1333, allocations: 83.69 kB / 0.5058 GB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1344, allocations: 394.4 kB / 0.5062 GB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.1344, allocations: 0 / 0.5062 GB, free: 6.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1359, allocations: 0.9598 MB / 0.5071 GB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1359, allocations: 8 kB / 0.5071 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.1359, allocations: 7.938 kB / 0.5071 GB, free: 5.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.136, allocations: 15.88 kB / 0.5072 GB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.136, allocations: 0 / 0.5072 GB, free: 5.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1362, allocations: 39.97 kB / 0.5072 GB, free: 5.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.1362, allocations: 27.84 kB / 0.5072 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1363, allocations: 23.8 kB / 0.5072 GB, free: 5.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1364, allocations: 75.75 kB / 0.5073 GB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1364, allocations: 0 / 0.5073 GB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1365, allocations: 0 / 0.5073 GB, free: 5.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1365, allocations: 4 kB / 0.5073 GB, free: 5.465 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.0003647/0.1368, allocations: 387 kB / 0.5077 GB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1369, allocations: 12.03 kB / 0.5077 GB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.1373, allocations: 108.1 kB / 0.5078 GB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1377, allocations: 347.9 kB / 0.5081 GB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.1378, allocations: 154.9 kB / 0.5083 GB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1379, allocations: 154.9 kB / 0.5084 GB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.9e-05/0.1379, allocations: 105.3 kB / 0.5085 GB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.138, allocations: 75.28 kB / 0.5086 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.138, allocations: 150.6 kB / 0.5087 GB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.1381, allocations: 154.6 kB / 0.5089 GB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.1381, allocations: 158.5 kB / 0.509 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1384, allocations: 465.9 kB / 0.5095 GB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.1385, allocations: 165.1 kB / 0.5096 GB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.1386, allocations: 80.14 kB / 0.5097 GB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1386, allocations: 79.28 kB / 0.5098 GB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1386, allocations: 109.8 kB / 0.5099 GB, free: 2.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.1387, allocations: 3.984 kB / 0.5099 GB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.1387, allocations: 45.55 kB / 0.51 GB, free: 2.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1388, allocations: 130.7 kB / 0.5101 GB, free: 2.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.139, allocations: 169 kB / 0.5102 GB, free: 2.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.139, allocations: 29.7 kB / 0.5103 GB, free: 2.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1391, allocations: 104.1 kB / 0.5104 GB, free: 2.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.1391, allocations: 0 / 0.5104 GB, free: 2.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1391, allocations: 13.66 kB / 0.5104 GB, free: 2.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1392, allocations: 322.8 kB / 0.5107 GB, free: 1.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.1392, allocations: 0 / 0.5107 GB, free: 1.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-06/0.1392, allocations: 0 / 0.5107 GB, free: 1.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.1393, allocations: 83.27 kB / 0.5108 GB, free: 1.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/0.1393, allocations: 79.28 kB / 0.5108 GB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.201e-05/0.1394, allocations: 37.55 kB / 0.5109 GB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.1394, allocations: 84.78 kB / 0.511 GB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.1395, allocations: 79.28 kB / 0.511 GB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.609e-05/0.1395, allocations: 150.6 kB / 0.5112 GB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.1396, allocations: 79.22 kB / 0.5113 GB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.087e-05/0.1396, allocations: 150.6 kB / 0.5114 GB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1397, allocations: 91.2 kB / 0.5115 GB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1398, allocations: 79.28 kB / 0.5116 GB, free: 0.8789 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.0001436/0.1399, allocations: 276.3 kB / 0.5118 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.14, allocations: 116.8 kB / 0.5119 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.14, allocations: 109.5 kB / 0.512 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/0.1401, allocations: 184.2 kB / 0.5122 GB, free: 176 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.329e-05/0.1402, allocations: 184.2 kB / 0.5124 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.1403, allocations: 180.3 kB / 0.5126 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1405, allocations: 421.1 kB / 0.513 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.1406, allocations: 109 kB / 0.5131 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.1406, allocations: 105 kB / 0.5132 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-05/0.1407, allocations: 188.1 kB / 0.5133 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.1408, allocations: 176.3 kB / 0.5135 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.174e-05/0.1409, allocations: 188.2 kB / 0.5137 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.835e-05/0.1409, allocations: 180.3 kB / 0.5139 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.1411, allocations: 312.1 kB / 0.5142 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.1412, allocations: 193.8 kB / 0.5143 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.1413, allocations: 188.2 kB / 0.5145 GB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.1414, allocations: 101 kB / 0.5146 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.1414, allocations: 180.3 kB / 0.5148 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.1415, allocations: 104.9 kB / 0.5149 GB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.668e-05/0.1416, allocations: 131.9 kB / 0.515 GB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 0 / 0.515 GB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1419, allocations: 4 kB / 0.515 GB, free: 13.1 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.0001503/0.142, allocations: 174.5 kB / 0.5152 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.616e-05/0.1421, allocations: 0 / 0.5152 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1421, allocations: 0 / 0.5152 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.1421, allocations: 0 / 0.5152 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1426, allocations: 475.6 kB / 0.5156 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1429, allocations: 252.7 kB / 0.5159 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1432, allocations: 0.6922 MB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.1433, allocations: 7.984 kB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.1433, allocations: 15.44 kB / 0.5166 GB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1433, allocations: 0 / 0.5166 GB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.002624/0.1459, allocations: 488.8 kB / 0.5171 GB, free: 10.96 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)