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.0007942/0.0007942, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002132, allocations: 435.8 kB / 10.33 MB, free: 368 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 0.9057/0.9057, allocations: 177.1 MB / 188.2 MB, free: 4.508 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1703/1.076, allocations: 53.66 MB / 241.9 MB, free: 2.73 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.0008022/0.0008022, allocations: 144.2 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001951, allocations: 491.4 kB / 243.2 MB, free: 1.414 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.02353/0.02353, allocations: 6.653 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005014/0.02854, allocations: 2.655 MB / 253.3 MB, free: 7.57 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 1.082e-06/1.082e-06, allocations: 0 / 254.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.297e-05, allocations: 8.359 kB / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001647/0.00167, allocations: 1.34 MB / 255.9 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002938, allocations: 1.213 MB / 257.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.002964, allocations: 0 / 257.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.003189, allocations: 83.58 kB / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007167/0.003906, allocations: 390.2 kB / 257.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.003909, allocations: 7.875 kB / 257.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.004735, allocations: 0.8311 MB / 258.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.004771, allocations: 7.984 kB / 258.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.004816, allocations: 16 kB / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.004845, allocations: 19.92 kB / 258.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.086e-06/0.004853, allocations: 0 / 258.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.004974, allocations: 51.89 kB / 258.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.005009, allocations: 19.92 kB / 258.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.005023, allocations: 11.94 kB / 258.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.005141, allocations: 67.7 kB / 258.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.005152, allocations: 0 / 258.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005153, allocations: 4 kB / 258.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.005165, allocations: 3.938 kB / 258.6 MB, free: 2.23 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.0002674/0.005433, allocations: 300.1 kB / 258.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.00546, allocations: 12.03 kB / 258.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.005681, allocations: 185.3 kB / 259.1 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.006003, allocations: 305.7 kB / 259.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.006038, allocations: 154.9 kB / 259.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.006068, allocations: 154.9 kB / 259.7 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.247e-05/0.00611, allocations: 105.5 kB / 259.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.006129, allocations: 79.45 kB / 259.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.006161, allocations: 150.9 kB / 260 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.006193, allocations: 158.5 kB / 260.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.006228, allocations: 158.5 kB / 260.3 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.006371, allocations: 357.3 kB / 260.7 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.00644, allocations: 165.1 kB / 260.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.006459, allocations: 80.14 kB / 260.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.006478, allocations: 79.22 kB / 261 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.006509, allocations: 117.8 kB / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.00651, allocations: 0 / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.66e-05/0.006557, allocations: 33.64 kB / 261.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.006599, allocations: 126.7 kB / 261.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.00669, allocations: 152.2 kB / 261.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.006697, allocations: 25.7 kB / 261.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.006721, allocations: 88.12 kB / 261.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.006722, allocations: 0 / 261.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.006738, allocations: 17.7 kB / 261.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.006805, allocations: 318.8 kB / 261.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-06/0.006807, allocations: 0 / 261.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-06/0.006809, allocations: 4 kB / 261.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.698e-05/0.006826, allocations: 79.28 kB / 261.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.006842, allocations: 75.28 kB / 262 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.465e-05/0.006877, allocations: 37.62 kB / 262 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.006904, allocations: 79.28 kB / 262.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.006922, allocations: 79.33 kB / 262.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.00696, allocations: 158.5 kB / 262.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.75e-05/0.006977, allocations: 75.28 kB / 262.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/0.007008, allocations: 154.7 kB / 262.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.007053, allocations: 95.17 kB / 262.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.00707, allocations: 79.27 kB / 262.7 MB, free: 13.89 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 8.25e-05/0.007153, allocations: 267.2 kB / 263 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.007188, allocations: 104.9 kB / 263.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.00725, allocations: 116.6 kB / 263.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/0.007287, allocations: 184.3 kB / 263.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/0.007322, allocations: 180.2 kB / 263.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.007357, allocations: 176.3 kB / 263.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.007482, allocations: 337.3 kB / 264.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.007505, allocations: 105 kB / 264.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.007528, allocations: 101 kB / 264.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.007561, allocations: 112.9 kB / 264.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.683e-05/0.007598, allocations: 180.3 kB / 264.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.00764, allocations: 188.2 kB / 264.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.563e-05/0.007675, allocations: 180.2 kB / 264.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.752e-05/0.007713, allocations: 188.1 kB / 265.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.007798, allocations: 307.8 kB / 265.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.007841, allocations: 184.2 kB / 265.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.007886, allocations: 101 kB / 265.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.007927, allocations: 184.2 kB / 265.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.007952, allocations: 113 kB / 266 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.007983, allocations: 39.16 kB / 266 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007983, allocations: 4 kB / 266 MB, free: 10.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.008113, allocations: 4 kB / 266 MB, free: 10.43 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.0001142/0.008227, allocations: 147.7 kB / 266.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.838e-05/0.008255, allocations: 4.328 kB / 266.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.008258, allocations: 0 / 266.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.00826, allocations: 3.938 kB / 266.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.008513, allocations: 475.6 kB / 266.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.009252, allocations: 246.3 kB / 266.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.009281, allocations: 59.34 kB / 266.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.468e-05/0.009306, allocations: 11.97 kB / 267 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.009345, allocations: 55.38 kB / 267 MB, free: 9.387 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009346, allocations: 0 / 267 MB, free: 9.387 MB / 266.7 MB Notification: Performance of Templates: time 0.001872/0.01122, allocations: 0.5767 MB / 267.6 MB, free: 8.824 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.5272591207176447]