Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007303/0.007303, allocations: 99.64 kB / 15.73 MB, free: 6.031 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 / 239.4 MB, free: 4.562 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.001508/0.001509, allocations: 192.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03634/0.03634, allocations: 8.791 MB / 348.6 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 84.2 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 51.56 MB / 0.5034 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002848/0.1402, allocations: 1.252 MB / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1425, allocations: 1.152 MB / 0.5057 GB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.1426, allocations: 4 kB / 0.5057 GB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.1432, allocations: 79.69 kB / 0.5058 GB, free: 7.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.1444, allocations: 390.5 kB / 0.5062 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.833e-06/0.1444, allocations: 0 / 0.5062 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1456, allocations: 0.7647 MB / 0.5069 GB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1457, allocations: 7.938 kB / 0.5069 GB, free: 5.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.1457, allocations: 11.94 kB / 0.5069 GB, free: 5.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.1458, allocations: 23.84 kB / 0.507 GB, free: 5.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1458, allocations: 0 / 0.507 GB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.146, allocations: 35.98 kB / 0.507 GB, free: 5.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.146, allocations: 19.92 kB / 0.507 GB, free: 5.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1461, allocations: 15.86 kB / 0.507 GB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1463, allocations: 87.62 kB / 0.5071 GB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1463, allocations: 0 / 0.5071 GB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1463, allocations: 0 / 0.5071 GB, free: 5.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1463, allocations: 0 / 0.5071 GB, free: 5.672 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.0004032/0.1467, allocations: 379 kB / 0.5075 GB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1467, allocations: 8.031 kB / 0.5075 GB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.1472, allocations: 112.1 kB / 0.5076 GB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.1477, allocations: 347.2 kB / 0.5079 GB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.1477, allocations: 150.9 kB / 0.5081 GB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.1478, allocations: 166.8 kB / 0.5082 GB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/0.1479, allocations: 105.3 kB / 0.5083 GB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.1479, allocations: 75.28 kB / 0.5084 GB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.148, allocations: 154.6 kB / 0.5086 GB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/0.1481, allocations: 154.6 kB / 0.5087 GB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.1481, allocations: 158.6 kB / 0.5088 GB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1485, allocations: 457.9 kB / 0.5093 GB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.1486, allocations: 169.1 kB / 0.5094 GB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.1486, allocations: 84.12 kB / 0.5095 GB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1487, allocations: 75.28 kB / 0.5096 GB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.1487, allocations: 125.8 kB / 0.5097 GB, free: 2.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1487, allocations: 0 / 0.5097 GB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.141e-05/0.1488, allocations: 37.55 kB / 0.5098 GB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1489, allocations: 126.7 kB / 0.5099 GB, free: 2.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1491, allocations: 154.2 kB / 0.51 GB, free: 2.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1491, allocations: 25.7 kB / 0.51 GB, free: 2.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.1492, allocations: 104.1 kB / 0.5101 GB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1492, allocations: 0 / 0.5101 GB, free: 2.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1492, allocations: 13.72 kB / 0.5102 GB, free: 2.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1494, allocations: 318.8 kB / 0.5105 GB, free: 2.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.1494, allocations: 4 kB / 0.5105 GB, free: 2.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.1494, allocations: 0 / 0.5105 GB, free: 2.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.1494, allocations: 75.28 kB / 0.5105 GB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/0.1494, allocations: 75.28 kB / 0.5106 GB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.019e-05/0.1495, allocations: 33.61 kB / 0.5106 GB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.1496, allocations: 92.78 kB / 0.5107 GB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.1496, allocations: 83.16 kB / 0.5108 GB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.021e-05/0.1497, allocations: 154.6 kB / 0.511 GB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.1497, allocations: 83.2 kB / 0.511 GB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.609e-05/0.1498, allocations: 154.6 kB / 0.5112 GB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.1499, allocations: 79.28 kB / 0.5113 GB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1499, allocations: 83.22 kB / 0.5113 GB, free: 1.109 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.0001301/0.15, allocations: 276.3 kB / 0.5116 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.1501, allocations: 112.8 kB / 0.5117 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.1502, allocations: 120.8 kB / 0.5118 GB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.094e-05/0.1502, allocations: 176.3 kB / 0.512 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.287e-05/0.1503, allocations: 188.1 kB / 0.5122 GB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.233e-05/0.1504, allocations: 176.3 kB / 0.5123 GB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.1506, allocations: 421.2 kB / 0.5127 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/0.1507, allocations: 104.9 kB / 0.5128 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.1507, allocations: 105 kB / 0.5129 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.917e-05/0.1508, allocations: 184.1 kB / 0.5131 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.1509, allocations: 184.2 kB / 0.5133 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.168e-05/0.1509, allocations: 180.3 kB / 0.5135 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.067e-05/0.151, allocations: 184.2 kB / 0.5136 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1511, allocations: 312.1 kB / 0.5139 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.1512, allocations: 197.9 kB / 0.5141 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.1513, allocations: 176.3 kB / 0.5143 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.1514, allocations: 105 kB / 0.5144 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.1515, allocations: 184.3 kB / 0.5146 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.1515, allocations: 108.9 kB / 0.5147 GB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.1516, allocations: 128 kB / 0.5148 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1516, allocations: 4 kB / 0.5148 GB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1519, allocations: 4 kB / 0.5148 GB, free: 13.33 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.0001415/0.152, allocations: 170.5 kB / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.787e-05/0.1521, allocations: 0 / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1521, allocations: 0 / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1521, allocations: 0 / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1526, allocations: 471.7 kB / 0.5154 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.1529, allocations: 236.8 kB / 0.5156 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1532, allocations: 0.7 MB / 0.5163 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.1532, allocations: 4 kB / 0.5163 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.1533, allocations: 7.438 kB / 0.5163 GB, free: 11.69 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1533, allocations: 0 / 0.5163 GB, free: 11.69 MB / 366.1 MB Notification: Performance of Templates: time 0.002849/0.1561, allocations: 490.7 kB / 0.5168 GB, free: 11.22 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)