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.004392/0.004392, allocations: 98.53 kB / 15.73 MB, free: 6.059 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.247/1.247, allocations: 222.9 MB / 239.4 MB, free: 4.402 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.001391/0.001391, allocations: 192.5 kB / 289.7 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03289/0.03289, allocations: 8.808 MB / 348.7 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 75.88 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08594, allocations: 51.56 MB / 0.5034 GB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002163/0.08815, allocations: 1.258 MB / 0.5046 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.08986, allocations: 1.156 MB / 0.5057 GB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.08991, allocations: 4 kB / 0.5057 GB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.09033, allocations: 83.62 kB / 0.5058 GB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000902/0.09124, allocations: 393.9 kB / 0.5062 GB, free: 6.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.097e-06/0.09126, allocations: 0 / 0.5062 GB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.09256, allocations: 0.952 MB / 0.5071 GB, free: 5.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.09261, allocations: 7.984 kB / 0.5071 GB, free: 5.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.09264, allocations: 11.94 kB / 0.5071 GB, free: 5.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.09268, allocations: 19.86 kB / 0.5072 GB, free: 5.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.0927, allocations: 3.938 kB / 0.5072 GB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.09284, allocations: 47.91 kB / 0.5072 GB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.0929, allocations: 15.92 kB / 0.5072 GB, free: 5.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.09294, allocations: 19.81 kB / 0.5072 GB, free: 5.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.09309, allocations: 75.67 kB / 0.5073 GB, free: 5.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.0931, allocations: 0 / 0.5073 GB, free: 5.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09311, allocations: 0 / 0.5073 GB, free: 5.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.09312, allocations: 0 / 0.5073 GB, free: 5.445 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.0003262/0.09345, allocations: 390.8 kB / 0.5077 GB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.09349, allocations: 16.03 kB / 0.5077 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.09381, allocations: 112.1 kB / 0.5078 GB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.09423, allocations: 348 kB / 0.5081 GB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.09428, allocations: 154.9 kB / 0.5083 GB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.09433, allocations: 154.9 kB / 0.5084 GB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.652e-05/0.0944, allocations: 105.3 kB / 0.5085 GB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.09443, allocations: 83.2 kB / 0.5086 GB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.09448, allocations: 150.6 kB / 0.5088 GB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.09453, allocations: 150.6 kB / 0.5089 GB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.09458, allocations: 150.6 kB / 0.509 GB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.09485, allocations: 473.9 kB / 0.5095 GB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.09492, allocations: 165.1 kB / 0.5097 GB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.09496, allocations: 84.08 kB / 0.5097 GB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.09499, allocations: 75.28 kB / 0.5098 GB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.09504, allocations: 117.8 kB / 0.5099 GB, free: 2.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.09504, allocations: 0 / 0.5099 GB, free: 2.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.958e-05/0.09512, allocations: 41.64 kB / 0.51 GB, free: 2.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.09517, allocations: 126.7 kB / 0.5101 GB, free: 2.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.09532, allocations: 163.4 kB / 0.5102 GB, free: 2.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.09534, allocations: 25.7 kB / 0.5103 GB, free: 2.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.0954, allocations: 100.1 kB / 0.5104 GB, free: 2.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.09541, allocations: 4 kB / 0.5104 GB, free: 2.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.09543, allocations: 13.72 kB / 0.5104 GB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.09554, allocations: 322.8 kB / 0.5107 GB, free: 1.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.09555, allocations: 7.938 kB / 0.5107 GB, free: 1.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-06/0.09556, allocations: 0 / 0.5107 GB, free: 1.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.09559, allocations: 79.28 kB / 0.5108 GB, free: 1.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.09562, allocations: 75.28 kB / 0.5108 GB, free: 1.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.924e-05/0.09567, allocations: 33.66 kB / 0.5109 GB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.09571, allocations: 87.22 kB / 0.511 GB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.09575, allocations: 87.2 kB / 0.511 GB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.506e-05/0.09581, allocations: 150.6 kB / 0.5112 GB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.473e-05/0.09585, allocations: 75.28 kB / 0.5113 GB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.958e-05/0.0959, allocations: 158.4 kB / 0.5114 GB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.09598, allocations: 79.28 kB / 0.5115 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.09601, allocations: 87.22 kB / 0.5116 GB, free: 0.8477 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.0001082/0.09612, allocations: 272.3 kB / 0.5118 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.09619, allocations: 120.8 kB / 0.5119 GB, free: 456 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.09624, allocations: 113.5 kB / 0.512 GB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.0963, allocations: 180.2 kB / 0.5122 GB, free: 144 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.065e-05/0.09637, allocations: 184.3 kB / 0.5124 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.373e-05/0.09643, allocations: 188.2 kB / 0.5126 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.09665, allocations: 421.2 kB / 0.513 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.09669, allocations: 105 kB / 0.5131 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.09673, allocations: 108.9 kB / 0.5132 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.655e-05/0.09679, allocations: 180.2 kB / 0.5133 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.09685, allocations: 188.2 kB / 0.5135 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.675e-05/0.09691, allocations: 176.3 kB / 0.5137 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.717e-05/0.09697, allocations: 176.3 kB / 0.5139 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.09709, allocations: 316.1 kB / 0.5142 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.09718, allocations: 193.9 kB / 0.5144 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.09724, allocations: 184.3 kB / 0.5145 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.09732, allocations: 101 kB / 0.5146 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.09739, allocations: 188.2 kB / 0.5148 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.09742, allocations: 101 kB / 0.5149 GB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.999e-05/0.09752, allocations: 128.9 kB / 0.515 GB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09752, allocations: 0 / 0.515 GB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000246/0.09777, allocations: 11.98 kB / 0.515 GB, free: 13.06 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.0001073/0.09789, allocations: 170.5 kB / 0.5152 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.168e-05/0.09792, allocations: 7.875 kB / 0.5152 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.09793, allocations: 0 / 0.5152 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.09794, allocations: 0 / 0.5152 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.09835, allocations: 467.7 kB / 0.5157 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.09863, allocations: 240.7 kB / 0.5159 GB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.09888, allocations: 0.7019 MB / 0.5166 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.09892, allocations: 7.984 kB / 0.5166 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.09895, allocations: 11.44 kB / 0.5166 GB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09895, allocations: 0 / 0.5166 GB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.002273/0.1012, allocations: 474.7 kB / 0.517 GB, free: 10.95 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)