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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002471, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.066/1.066, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2113/1.277, allocations: 53.66 MB / 242 MB, free: 2.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 151.1 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.00274, allocations: 482.8 kB / 243.4 MB, free: 1.285 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02613/0.02613, allocations: 6.649 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005567/0.0317, allocations: 2.668 MB / 253.5 MB, free: 7.414 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 254.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.77e-05, allocations: 2.312 kB / 254.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002648/0.002675, allocations: 1.348 MB / 256.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.004802, allocations: 1.205 MB / 257.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.004846, allocations: 3.938 kB / 257.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.005167, allocations: 75.64 kB / 257.4 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.005925, allocations: 402.1 kB / 257.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.005929, allocations: 0 / 257.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.006881, allocations: 0.8389 MB / 258.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.006935, allocations: 7.938 kB / 258.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.007033, allocations: 31.92 kB / 258.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.007069, allocations: 11.92 kB / 258.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.00708, allocations: 0 / 258.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.007251, allocations: 47.91 kB / 258.7 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.007307, allocations: 27.92 kB / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.007325, allocations: 7.938 kB / 258.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.007484, allocations: 71.75 kB / 258.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.007496, allocations: 7.984 kB / 258.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007497, allocations: 0 / 258.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.007511, allocations: 0 / 258.8 MB, free: 2.031 MB / 250.7 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.0003555/0.007866, allocations: 292 kB / 259.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.007906, allocations: 8.031 kB / 259.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.008196, allocations: 181.3 kB / 259.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.008623, allocations: 317.5 kB / 259.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.008676, allocations: 150.9 kB / 259.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.008729, allocations: 150.9 kB / 259.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.911e-05/0.008798, allocations: 113.5 kB / 260 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.008825, allocations: 75.47 kB / 260.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.008875, allocations: 150.9 kB / 260.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.008924, allocations: 154.5 kB / 260.4 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.008975, allocations: 158.6 kB / 260.5 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.00916, allocations: 349.3 kB / 260.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.009229, allocations: 177.1 kB / 261 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.009252, allocations: 80.14 kB / 261.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.009274, allocations: 75.28 kB / 261.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.009316, allocations: 105.8 kB / 261.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.009317, allocations: 0 / 261.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.238e-05/0.009389, allocations: 33.69 kB / 261.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.00944, allocations: 130.7 kB / 261.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.009555, allocations: 148.2 kB / 261.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.009565, allocations: 25.7 kB / 261.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.009599, allocations: 100 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.0096, allocations: 4 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.009616, allocations: 9.719 kB / 261.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.009708, allocations: 326.8 kB / 262.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.009712, allocations: 7.938 kB / 262.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.009716, allocations: 0 / 262.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.009739, allocations: 75.28 kB / 262.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.00976, allocations: 75.33 kB / 262.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.59e-05/0.009796, allocations: 37.69 kB / 262.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.009829, allocations: 83.28 kB / 262.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.009857, allocations: 79.22 kB / 262.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.881e-05/0.009926, allocations: 150.6 kB / 262.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.009956, allocations: 83.28 kB / 262.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.928e-05/0.01, allocations: 158.5 kB / 262.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.01006, allocations: 79.38 kB / 262.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.01008, allocations: 87.23 kB / 263 MB, free: 13.7 MB / 266.7 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.0001103/0.0102, allocations: 263.2 kB / 263.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.01024, allocations: 105 kB / 263.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.01029, allocations: 124.5 kB / 263.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.01034, allocations: 176.3 kB / 263.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.253e-05/0.01039, allocations: 180.3 kB / 263.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/0.01044, allocations: 180.2 kB / 264 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.0106, allocations: 333.4 kB / 264.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.01063, allocations: 104.9 kB / 264.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.01067, allocations: 105 kB / 264.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.01071, allocations: 112.9 kB / 264.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-05/0.01076, allocations: 188.2 kB / 264.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.01082, allocations: 176.3 kB / 265 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.01088, allocations: 188.2 kB / 265.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-05/0.01093, allocations: 176.3 kB / 265.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.01104, allocations: 311.7 kB / 265.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.0111, allocations: 176.3 kB / 265.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.01115, allocations: 116.9 kB / 265.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.0112, allocations: 184.3 kB / 266.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.01123, allocations: 101 kB / 266.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.01126, allocations: 39.11 kB / 266.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01126, allocations: 0 / 266.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.01139, allocations: 7.984 kB / 266.2 MB, free: 10.25 MB / 266.7 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.0001212/0.01152, allocations: 151.7 kB / 266.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.902e-05/0.01155, allocations: 4.25 kB / 266.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01156, allocations: 4 kB / 266.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.01156, allocations: 8 kB / 266.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01191, allocations: 0.5714 MB / 267 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.0127, allocations: 238.3 kB / 267.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.01274, allocations: 63.34 kB / 267.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.01276, allocations: 3.984 kB / 267.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01283, allocations: 59.38 kB / 267.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01283, allocations: 0 / 267.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of Templates: time 0.002287/0.01511, allocations: 0.5774 MB / 267.9 MB, free: 8.504 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9461627919226885]