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.00108/0.00108, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.00117/0.00117, allocations: 196.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03304/0.03304, allocations: 8.795 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 75.88 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08994, allocations: 51.55 MB / 0.5034 GB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001989/0.09196, allocations: 1.256 MB / 0.5046 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.09357, allocations: 1.16 MB / 0.5057 GB, free: 7.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.09361, allocations: 0 / 0.5057 GB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.09399, allocations: 83.62 kB / 0.5058 GB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.09484, allocations: 394.4 kB / 0.5062 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.578e-06/0.09485, allocations: 0 / 0.5062 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.09593, allocations: 0.7686 MB / 0.5069 GB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.09598, allocations: 8 kB / 0.5069 GB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.09601, allocations: 7.938 kB / 0.5069 GB, free: 5.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.09605, allocations: 11.88 kB / 0.507 GB, free: 5.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.09606, allocations: 0 / 0.507 GB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.09619, allocations: 51.89 kB / 0.507 GB, free: 5.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.09625, allocations: 15.92 kB / 0.507 GB, free: 5.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.09628, allocations: 15.88 kB / 0.507 GB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.09643, allocations: 79.61 kB / 0.5071 GB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.09644, allocations: 0 / 0.5071 GB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09644, allocations: 0 / 0.5071 GB, free: 5.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.09646, allocations: 4 kB / 0.5071 GB, free: 5.676 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.0003204/0.09678, allocations: 383 kB / 0.5075 GB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.09682, allocations: 12.03 kB / 0.5075 GB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.09715, allocations: 112.1 kB / 0.5076 GB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.09753, allocations: 343.3 kB / 0.5079 GB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.09759, allocations: 158.9 kB / 0.5081 GB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.09764, allocations: 150.9 kB / 0.5082 GB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.874e-05/0.0977, allocations: 105.3 kB / 0.5083 GB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.09773, allocations: 75.28 kB / 0.5084 GB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.09779, allocations: 154.6 kB / 0.5085 GB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.09783, allocations: 158.5 kB / 0.5087 GB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.09789, allocations: 154.5 kB / 0.5088 GB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.09815, allocations: 461.9 kB / 0.5093 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.09823, allocations: 169.1 kB / 0.5094 GB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.09826, allocations: 88.14 kB / 0.5095 GB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.09829, allocations: 75.28 kB / 0.5096 GB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.09833, allocations: 113.7 kB / 0.5097 GB, free: 2.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.09834, allocations: 0 / 0.5097 GB, free: 2.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.535e-05/0.09841, allocations: 37.61 kB / 0.5097 GB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.09848, allocations: 126.7 kB / 0.5099 GB, free: 2.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.09862, allocations: 158.2 kB / 0.51 GB, free: 2.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.09865, allocations: 29.7 kB / 0.51 GB, free: 2.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.0987, allocations: 108.1 kB / 0.5101 GB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.0987, allocations: 0 / 0.5101 GB, free: 2.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.09873, allocations: 9.719 kB / 0.5102 GB, free: 2.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.09884, allocations: 318.8 kB / 0.5105 GB, free: 2.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-06/0.09885, allocations: 4 kB / 0.5105 GB, free: 2.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-06/0.09886, allocations: 0 / 0.5105 GB, free: 2.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.09889, allocations: 75.28 kB / 0.5105 GB, free: 1.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.09892, allocations: 83.22 kB / 0.5106 GB, free: 1.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.223e-05/0.09898, allocations: 41.58 kB / 0.5107 GB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.09902, allocations: 87.22 kB / 0.5107 GB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.09905, allocations: 75.28 kB / 0.5108 GB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/0.09911, allocations: 154.5 kB / 0.511 GB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.243e-05/0.09914, allocations: 75.28 kB / 0.511 GB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.937e-05/0.09919, allocations: 158.6 kB / 0.5112 GB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.09926, allocations: 87.22 kB / 0.5113 GB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.09929, allocations: 79.27 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.0001049/0.0994, allocations: 268.3 kB / 0.5116 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.09947, allocations: 124.8 kB / 0.5117 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.09952, allocations: 108.9 kB / 0.5118 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/0.09958, allocations: 184.2 kB / 0.512 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.464e-05/0.09964, allocations: 180.2 kB / 0.5122 GB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-05/0.0997, allocations: 188.2 kB / 0.5123 GB, free: 28 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.09993, allocations: 417.1 kB / 0.5127 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.09996, allocations: 113 kB / 0.5128 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1, allocations: 104.9 kB / 0.5129 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-05/0.1001, allocations: 184.2 kB / 0.5131 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.1001, allocations: 176.3 kB / 0.5133 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-05/0.1002, allocations: 184.2 kB / 0.5135 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.439e-05/0.1002, allocations: 176.3 kB / 0.5136 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1004, allocations: 320.1 kB / 0.5139 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.1004, allocations: 190 kB / 0.5141 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.1005, allocations: 180.2 kB / 0.5143 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1006, allocations: 109 kB / 0.5144 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.1007, allocations: 188.2 kB / 0.5146 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.1007, allocations: 105 kB / 0.5147 GB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.1008, allocations: 124.1 kB / 0.5148 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 0 / 0.5148 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000246/0.101, 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.0001122/0.1012, allocations: 174.5 kB / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.475e-05/0.1012, allocations: 0 / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1012, allocations: 0 / 0.515 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.1012, allocations: 7.938 kB / 0.515 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1016, allocations: 467.7 kB / 0.5154 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1019, allocations: 232.7 kB / 0.5156 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1022, allocations: 0.7039 MB / 0.5163 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.1022, allocations: 7.984 kB / 0.5163 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.1022, allocations: 11.44 kB / 0.5163 GB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1022, allocations: 3.938 kB / 0.5164 GB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.00234/0.1046, allocations: 457.5 kB / 0.5168 GB, free: 11.24 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)