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.001259/0.001259, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.375/1.375, allocations: 222.9 MB / 240.1 MB, free: 4.539 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.001281/0.001281, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03569/0.03569, allocations: 8.797 MB / 349.3 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 79.88 kB / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.08036, allocations: 51.57 MB / 0.5041 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002143/0.08254, allocations: 1.254 MB / 0.5053 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.08429, allocations: 1.156 MB / 0.5064 GB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.08434, allocations: 3.938 kB / 0.5064 GB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.08473, allocations: 83.69 kB / 0.5065 GB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000877/0.08562, allocations: 382.5 kB / 0.5069 GB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/0.08564, allocations: 4 kB / 0.5069 GB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.08676, allocations: 0.7608 MB / 0.5076 GB, free: 5.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.0868, allocations: 8 kB / 0.5076 GB, free: 5.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.08683, allocations: 11.94 kB / 0.5076 GB, free: 5.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.08688, allocations: 23.8 kB / 0.5076 GB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.08689, allocations: 0 / 0.5076 GB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.08703, allocations: 31.98 kB / 0.5077 GB, free: 5.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.08709, allocations: 23.91 kB / 0.5077 GB, free: 5.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.08712, allocations: 19.88 kB / 0.5077 GB, free: 5.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.08728, allocations: 79.67 kB / 0.5078 GB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08729, allocations: 0 / 0.5078 GB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.08729, allocations: 0 / 0.5078 GB, free: 5.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.0873, allocations: 0 / 0.5078 GB, free: 5.695 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.0003198/0.08763, allocations: 375.1 kB / 0.5081 GB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.08767, allocations: 15.97 kB / 0.5082 GB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.08802, allocations: 112.1 kB / 0.5083 GB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.08841, allocations: 343.2 kB / 0.5086 GB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.08848, allocations: 158.9 kB / 0.5087 GB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.08853, allocations: 154.9 kB / 0.5089 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.404e-05/0.08858, allocations: 117.2 kB / 0.509 GB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.08861, allocations: 79.27 kB / 0.5091 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.08867, allocations: 150.6 kB / 0.5092 GB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.08873, allocations: 154.5 kB / 0.5094 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.08878, allocations: 154.6 kB / 0.5095 GB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.08903, allocations: 457.9 kB / 0.51 GB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.08911, allocations: 173.1 kB / 0.5101 GB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.08914, allocations: 80.14 kB / 0.5102 GB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.08917, allocations: 79.28 kB / 0.5103 GB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.08921, allocations: 117.8 kB / 0.5104 GB, free: 2.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.08922, allocations: 0 / 0.5104 GB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.609e-05/0.08929, allocations: 33.61 kB / 0.5104 GB, free: 2.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.08933, allocations: 55.34 kB / 0.5105 GB, free: 2.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.08947, allocations: 154.2 kB / 0.5106 GB, free: 2.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.08949, allocations: 29.7 kB / 0.5106 GB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.08954, allocations: 104.1 kB / 0.5107 GB, free: 2.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.08955, allocations: 0 / 0.5107 GB, free: 2.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.08957, allocations: 9.719 kB / 0.5108 GB, free: 2.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.08968, allocations: 326.8 kB / 0.5111 GB, free: 2.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.08969, allocations: 0 / 0.5111 GB, free: 2.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.08969, allocations: 0 / 0.5111 GB, free: 2.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.08973, allocations: 75.28 kB / 0.5111 GB, free: 2.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.08975, allocations: 75.28 kB / 0.5112 GB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.618e-05/0.08981, allocations: 37.61 kB / 0.5112 GB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.08986, allocations: 87.22 kB / 0.5113 GB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.08989, allocations: 83.22 kB / 0.5114 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.08994, allocations: 150.6 kB / 0.5116 GB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.683e-05/0.08997, allocations: 75.28 kB / 0.5116 GB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.185e-05/0.09002, allocations: 162.5 kB / 0.5118 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.0901, allocations: 79.28 kB / 0.5119 GB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.09013, allocations: 83.27 kB / 0.5119 GB, free: 1.207 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.00011/0.09024, allocations: 276.3 kB / 0.5122 GB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.09031, allocations: 112.8 kB / 0.5123 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.09036, allocations: 112.9 kB / 0.5124 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.09042, allocations: 184.2 kB / 0.5126 GB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.09046, allocations: 108.9 kB / 0.5127 GB, free: 396 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.09053, allocations: 189.9 kB / 0.5129 GB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.781e-05/0.09062, allocations: 176.3 kB / 0.513 GB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.09071, allocations: 109 kB / 0.5131 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.09077, allocations: 184.2 kB / 0.5133 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.537e-05/0.09085, allocations: 255.5 kB / 0.5136 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001431/0.091, allocations: 386.9 kB / 0.5139 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.42e-05/0.09105, allocations: 112.9 kB / 0.514 GB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.09113, allocations: 120.1 kB / 0.5142 GB, free: 14.8 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.09114, allocations: 0 / 0.5142 GB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.0915, allocations: 108 kB / 0.5143 GB, free: 14.69 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005665/0.09208, allocations: 0.9793 MB / 0.5152 GB, free: 13.66 MB / 366.1 MB Notification: Performance of Templates: time 0.002905/0.095, allocations: 0.7617 MB / 0.516 GB, free: 12.91 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)