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.001143/0.001143, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.391/1.391, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001622/0.001622, allocations: 184.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03416/0.03416, allocations: 8.806 MB / 349.3 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 83.88 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 51.57 MB / 0.504 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00243/0.1143, allocations: 1.258 MB / 0.5053 GB, free: 8.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1162, allocations: 1.16 MB / 0.5064 GB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1162, allocations: 0 / 0.5064 GB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.1167, allocations: 75.69 kB / 0.5065 GB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1177, allocations: 390.4 kB / 0.5069 GB, free: 6.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.992e-06/0.1178, allocations: 0 / 0.5069 GB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.1189, allocations: 0.7686 MB / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.119, allocations: 8 kB / 0.5076 GB, free: 5.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.97e-05/0.119, allocations: 11.92 kB / 0.5076 GB, free: 5.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.1191, allocations: 15.86 kB / 0.5076 GB, free: 5.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1191, allocations: 0 / 0.5076 GB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1193, allocations: 43.92 kB / 0.5077 GB, free: 5.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.1193, allocations: 15.97 kB / 0.5077 GB, free: 5.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.1194, allocations: 23.8 kB / 0.5077 GB, free: 5.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1196, allocations: 75.7 kB / 0.5078 GB, free: 5.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1196, allocations: 3.984 kB / 0.5078 GB, free: 5.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1196, allocations: 4 kB / 0.5078 GB, free: 5.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1196, allocations: 0 / 0.5078 GB, free: 5.598 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.0003803/0.12, allocations: 377.5 kB / 0.5082 GB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1201, allocations: 8.031 kB / 0.5082 GB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.1204, allocations: 108.1 kB / 0.5083 GB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.1209, allocations: 359.1 kB / 0.5086 GB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.121, allocations: 158.9 kB / 0.5088 GB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.121, allocations: 150.9 kB / 0.5089 GB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.433e-05/0.1211, allocations: 105.3 kB / 0.509 GB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.1212, allocations: 75.28 kB / 0.5091 GB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.1212, allocations: 154.5 kB / 0.5092 GB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.1213, allocations: 158.6 kB / 0.5094 GB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.1213, allocations: 154.5 kB / 0.5095 GB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1217, allocations: 457.9 kB / 0.51 GB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.58e-05/0.1218, allocations: 173.1 kB / 0.5101 GB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1219, allocations: 84.14 kB / 0.5102 GB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1219, allocations: 75.28 kB / 0.5103 GB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.122, allocations: 113.8 kB / 0.5104 GB, free: 2.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.122, allocations: 0 / 0.5104 GB, free: 2.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.082e-05/0.1221, allocations: 37.55 kB / 0.5104 GB, free: 2.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1222, allocations: 126.7 kB / 0.5105 GB, free: 2.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1223, allocations: 158.2 kB / 0.5107 GB, free: 2.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1224, allocations: 33.62 kB / 0.5107 GB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1224, allocations: 96.14 kB / 0.5108 GB, free: 2.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1224, allocations: 0 / 0.5108 GB, free: 2.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.1224, allocations: 13.72 kB / 0.5108 GB, free: 2.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1226, allocations: 318.8 kB / 0.5111 GB, free: 1.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.1226, allocations: 4 kB / 0.5111 GB, free: 1.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/0.1226, allocations: 0 / 0.5111 GB, free: 1.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.1226, allocations: 79.28 kB / 0.5112 GB, free: 1.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/0.1227, allocations: 79.28 kB / 0.5113 GB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.969e-05/0.1227, allocations: 37.55 kB / 0.5113 GB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.1228, allocations: 83.22 kB / 0.5114 GB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1228, allocations: 79.28 kB / 0.5115 GB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.145e-05/0.1229, allocations: 158.5 kB / 0.5116 GB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.1229, allocations: 75.28 kB / 0.5117 GB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.797e-05/0.123, allocations: 154.6 kB / 0.5119 GB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.123, allocations: 83.22 kB / 0.5119 GB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.1231, allocations: 79.33 kB / 0.512 GB, free: 1.047 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.0001307/0.1232, allocations: 276.3 kB / 0.5123 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.1233, allocations: 116.8 kB / 0.5124 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.1234, allocations: 116.8 kB / 0.5125 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.575e-05/0.1234, allocations: 180.3 kB / 0.5127 GB, free: 344 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-05/0.1235, allocations: 180.2 kB / 0.5128 GB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.971e-05/0.1236, allocations: 176.3 kB / 0.513 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1238, allocations: 429.1 kB / 0.5134 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/0.1239, allocations: 104.9 kB / 0.5135 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.1239, allocations: 113 kB / 0.5136 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.577e-05/0.124, allocations: 184.1 kB / 0.5138 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.1241, allocations: 180.2 kB / 0.514 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-05/0.1242, allocations: 180.2 kB / 0.5141 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001345/0.1243, allocations: 180.3 kB / 0.5143 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1245, allocations: 316 kB / 0.5146 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1246, allocations: 189.9 kB / 0.5148 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.1247, allocations: 184.2 kB / 0.515 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.1248, allocations: 101 kB / 0.5151 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1249, allocations: 184.3 kB / 0.5152 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.1249, allocations: 116.9 kB / 0.5154 GB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.125, allocations: 120.1 kB / 0.5155 GB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.125, allocations: 0 / 0.5155 GB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1253, allocations: 4 kB / 0.5155 GB, free: 13.27 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.0001485/0.1255, allocations: 174.5 kB / 0.5156 GB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.749e-05/0.1255, allocations: 0 / 0.5156 GB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1255, allocations: 0 / 0.5156 GB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-06/0.1255, allocations: 11.88 kB / 0.5157 GB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.126, allocations: 473.5 kB / 0.5161 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.1264, allocations: 258.5 kB / 0.5163 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1267, allocations: 0.7 MB / 0.517 GB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.1267, allocations: 11.44 kB / 0.517 GB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1267, allocations: 0 / 0.517 GB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.002376/0.1291, allocations: 0.8344 MB / 0.5179 GB, free: 10.76 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)