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.001528/0.001528, allocations: 117.7 kB / 16.37 MB, free: 6.016 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.368/1.368, allocations: 222.9 MB / 240 MB, free: 4.391 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.00127/0.00127, allocations: 188.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03597/0.03597, allocations: 8.795 MB / 349.3 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 83.12 kB / 412.5 MB, free: 41.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08343, allocations: 51.57 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002362/0.08583, allocations: 1.246 MB / 465.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.08763, allocations: 1.148 MB / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.08769, allocations: 7.938 kB / 466.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.08808, allocations: 75.69 kB / 466.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009564/0.08906, allocations: 398.5 kB / 467 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.08908, allocations: 0 / 467 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.09023, allocations: 0.7569 MB / 467.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.09027, allocations: 8 kB / 467.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.09031, allocations: 15.86 kB / 467.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.09035, allocations: 19.86 kB / 467.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.09037, allocations: 0 / 467.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.0905, allocations: 35.92 kB / 467.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.09056, allocations: 23.92 kB / 467.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.0906, allocations: 19.86 kB / 467.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.09076, allocations: 75.69 kB / 467.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09077, allocations: 0 / 467.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09078, allocations: 0 / 467.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09079, allocations: 4 kB / 467.9 MB, free: 9.691 MB / 302.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.0003244/0.09112, allocations: 379.1 kB / 468.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.09116, allocations: 8.031 kB / 468.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.09153, allocations: 108.1 kB / 468.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.09195, allocations: 356 kB / 468.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.09202, allocations: 166.9 kB / 468.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.09206, allocations: 150.9 kB / 469.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.542e-05/0.09212, allocations: 105.3 kB / 469.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.09215, allocations: 79.27 kB / 469.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.0922, allocations: 150.6 kB / 469.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.09225, allocations: 154.5 kB / 469.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.0923, allocations: 154.6 kB / 469.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.09256, allocations: 461.9 kB / 470.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.09263, allocations: 165.1 kB / 470.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.09267, allocations: 84.14 kB / 470.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.0927, allocations: 79.28 kB / 470.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.09274, allocations: 113.7 kB / 470.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.09275, allocations: 0 / 470.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.173e-05/0.09282, allocations: 41.58 kB / 470.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.09288, allocations: 130.7 kB / 470.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.09303, allocations: 158.2 kB / 470.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.09305, allocations: 25.7 kB / 470.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.0931, allocations: 104.1 kB / 471 MB, free: 6.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.09311, allocations: 0 / 471 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.09313, allocations: 9.719 kB / 471 MB, free: 6.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.09324, allocations: 322.8 kB / 471.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.09325, allocations: 0 / 471.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-06/0.09325, allocations: 0 / 471.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.09328, allocations: 79.22 kB / 471.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.09331, allocations: 79.28 kB / 471.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.763e-05/0.09337, allocations: 41.61 kB / 471.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.09341, allocations: 83.22 kB / 471.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.09343, allocations: 75.28 kB / 471.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.456e-05/0.0935, allocations: 162.4 kB / 471.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.975e-05/0.09352, allocations: 75.28 kB / 471.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.575e-05/0.09357, allocations: 158.5 kB / 472.1 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.09364, allocations: 79.28 kB / 472.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.09367, allocations: 79.28 kB / 472.2 MB, free: 5.125 MB / 302.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.0001083/0.09378, allocations: 276.3 kB / 472.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.09385, allocations: 116.8 kB / 472.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.0939, allocations: 120.8 kB / 472.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/0.09396, allocations: 188.2 kB / 472.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/0.09402, allocations: 180.3 kB / 473.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.09408, allocations: 176.3 kB / 473.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.09429, allocations: 425.1 kB / 473.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.09433, allocations: 105 kB / 473.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.09436, allocations: 104.9 kB / 473.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.09442, allocations: 192.2 kB / 474.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.09447, allocations: 176.3 kB / 474.2 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.264e-05/0.09453, allocations: 184.2 kB / 474.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-05/0.09458, allocations: 176.3 kB / 474.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.0947, allocations: 315.7 kB / 474.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.09478, allocations: 193.9 kB / 475.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.09485, allocations: 180.2 kB / 475.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.09492, allocations: 101 kB / 475.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.09499, allocations: 184.7 kB / 475.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.09502, allocations: 109 kB / 475.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.469e-05/0.09511, allocations: 123.2 kB / 475.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09512, allocations: 0 / 475.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.09537, allocations: 4 kB / 475.8 MB, free: 1.348 MB / 302.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.0001262/0.09551, allocations: 166.5 kB / 475.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.744e-05/0.09555, allocations: 11.94 kB / 476 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.09556, allocations: 0 / 476 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.09556, allocations: 64 / 476 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.09598, allocations: 477.5 kB / 476.4 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.09626, allocations: 232.7 kB / 476.7 MB, free: 448 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.09651, allocations: 0.6924 MB / 477.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.09654, allocations: 4 kB / 477.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.09657, allocations: 11.44 kB / 477.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09657, allocations: 4 kB / 477.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Templates: time 0.002365/0.09894, allocations: 475.2 kB / 477.8 MB, free: 15.25 MB / 318.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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)