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.009112/0.009112, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.461/1.461, 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.001745/0.001744, allocations: 188.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03365/0.03365, allocations: 8.791 MB / 348.6 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 83.88 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 51.57 MB / 0.5034 GB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002173/0.1228, allocations: 1.254 MB / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1246, allocations: 1.156 MB / 0.5057 GB, free: 7.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.1246, allocations: 0 / 0.5057 GB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.1251, allocations: 83.69 kB / 0.5058 GB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008912/0.126, allocations: 386.5 kB / 0.5062 GB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.126, allocations: 4 kB / 0.5062 GB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1274, allocations: 0.9637 MB / 0.5071 GB, free: 5.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1275, allocations: 4 kB / 0.5071 GB, free: 5.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.1275, allocations: 7.938 kB / 0.5071 GB, free: 5.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.1275, allocations: 15.86 kB / 0.5072 GB, free: 5.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.1275, allocations: 0 / 0.5072 GB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1277, allocations: 43.97 kB / 0.5072 GB, free: 5.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.1278, allocations: 19.92 kB / 0.5072 GB, free: 5.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1278, allocations: 23.81 kB / 0.5072 GB, free: 5.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.128, allocations: 79.67 kB / 0.5073 GB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.128, allocations: 0 / 0.5073 GB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.128, allocations: 0 / 0.5073 GB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.128, 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.0004076/0.1285, allocations: 387 kB / 0.5077 GB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1285, allocations: 8.031 kB / 0.5077 GB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.1289, allocations: 116.1 kB / 0.5078 GB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.1294, allocations: 355.8 kB / 0.5081 GB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.1294, allocations: 150.9 kB / 0.5083 GB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.1295, allocations: 150.9 kB / 0.5084 GB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.1296, allocations: 105.3 kB / 0.5085 GB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.1296, allocations: 79.28 kB / 0.5086 GB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.1297, allocations: 158.5 kB / 0.5088 GB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.1298, allocations: 150.6 kB / 0.5089 GB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.1298, allocations: 150.6 kB / 0.509 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1302, allocations: 469.9 kB / 0.5095 GB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.1303, allocations: 165.1 kB / 0.5096 GB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.1303, allocations: 84.14 kB / 0.5097 GB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1304, allocations: 79.22 kB / 0.5098 GB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.1304, allocations: 113.8 kB / 0.5099 GB, free: 2.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.1304, allocations: 4 kB / 0.5099 GB, free: 2.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.996e-05/0.1305, allocations: 41.55 kB / 0.51 GB, free: 2.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1306, allocations: 126.7 kB / 0.5101 GB, free: 2.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1308, allocations: 173 kB / 0.5102 GB, free: 2.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1308, allocations: 25.7 kB / 0.5103 GB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.1308, allocations: 104.1 kB / 0.5104 GB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1308, allocations: 0 / 0.5104 GB, free: 2.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.1309, allocations: 9.719 kB / 0.5104 GB, free: 2.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.131, allocations: 326.8 kB / 0.5107 GB, free: 1.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.131, allocations: 0 / 0.5107 GB, free: 1.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.131, allocations: 0 / 0.5107 GB, free: 1.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.1311, allocations: 79.28 kB / 0.5108 GB, free: 1.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.1311, allocations: 75.28 kB / 0.5108 GB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.691e-05/0.1312, allocations: 41.55 kB / 0.5109 GB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.1312, allocations: 87.2 kB / 0.511 GB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.1312, allocations: 75.28 kB / 0.511 GB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-05/0.1313, allocations: 154.6 kB / 0.5112 GB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.067e-05/0.1314, allocations: 83.22 kB / 0.5113 GB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.757e-05/0.1314, allocations: 150.6 kB / 0.5114 GB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.1315, allocations: 79.22 kB / 0.5115 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1315, allocations: 79.27 kB / 0.5116 GB, free: 0.8984 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.0001266/0.1317, allocations: 280.3 kB / 0.5118 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1317, allocations: 116.8 kB / 0.5119 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.1318, allocations: 117.5 kB / 0.512 GB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.1319, allocations: 180.3 kB / 0.5122 GB, free: 188 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.921e-05/0.1319, allocations: 180.2 kB / 0.5124 GB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-05/0.132, allocations: 184.2 kB / 0.5126 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1323, allocations: 425.2 kB / 0.513 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/0.1323, allocations: 105 kB / 0.5131 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.1323, allocations: 105 kB / 0.5132 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.1324, allocations: 188.1 kB / 0.5133 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.1325, allocations: 180.3 kB / 0.5135 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.335e-05/0.1325, allocations: 184.2 kB / 0.5137 GB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.318e-05/0.1326, allocations: 176.3 kB / 0.5139 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1328, allocations: 316 kB / 0.5142 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.1328, allocations: 193.8 kB / 0.5143 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.1329, allocations: 180.2 kB / 0.5145 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.133, allocations: 113 kB / 0.5146 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.1331, allocations: 184.3 kB / 0.5148 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.1331, allocations: 104.9 kB / 0.5149 GB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.1332, allocations: 131.9 kB / 0.515 GB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1332, allocations: 3.938 kB / 0.515 GB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1335, allocations: 0 / 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.000131/0.1337, allocations: 174.5 kB / 0.5152 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.254e-05/0.1337, allocations: 0 / 0.5152 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1337, allocations: 0 / 0.5152 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1337, allocations: 4 kB / 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.0004584/0.1342, allocations: 469.7 kB / 0.5157 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.1345, allocations: 244.8 kB / 0.5159 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1348, allocations: 0.7039 MB / 0.5166 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.1349, allocations: 4 kB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.1349, allocations: 7.438 kB / 0.5166 GB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1349, allocations: 4 kB / 0.5166 GB, free: 11.44 MB / 366.1 MB Notification: Performance of Templates: time 0.002681/0.1376, allocations: 472.9 kB / 0.517 GB, free: 10.99 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)