Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.0006756/0.0006756, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008854/0.001561, 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.9483/0.9483, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1641/1.112, allocations: 53.65 MB / 241.9 MB, free: 2.684 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.001233/0.001233, allocations: 148.1 kB / 242.8 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002572, allocations: 483.3 kB / 243.2 MB, free: 1.371 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.02991/0.02991, allocations: 6.655 MB / 250.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01975/0.04966, allocations: 2.664 MB / 253.3 MB, free: 7.516 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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 254.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.856e-05, allocations: 6.25 kB / 254.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.00158/0.001598, allocations: 1.339 MB / 255.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.002781, allocations: 1.205 MB / 257.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.002809, allocations: 4 kB / 257.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.003036, allocations: 79.58 kB / 257.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.003652, allocations: 398.1 kB / 257.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.003656, allocations: 0 / 257.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.004677, allocations: 1.069 MB / 258.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.004714, allocations: 4 kB / 258.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.004768, allocations: 31.91 kB / 258.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.004794, allocations: 11.94 kB / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.004803, allocations: 0 / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.004926, allocations: 47.91 kB / 258.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004966, allocations: 31.91 kB / 258.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.004981, allocations: 7.938 kB / 258.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.005098, allocations: 67.77 kB / 258.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.005108, allocations: 0 / 258.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005108, allocations: 4 kB / 258.8 MB, free: 1.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.005118, allocations: 0 / 258.8 MB, free: 1.961 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.000248/0.005366, allocations: 304 kB / 259.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.005393, allocations: 8.031 kB / 259.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.005602, allocations: 185.2 kB / 259.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.005907, allocations: 309.4 kB / 259.6 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.005939, allocations: 154.9 kB / 259.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.005967, allocations: 158.9 kB / 259.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.157e-05/0.006008, allocations: 101.5 kB / 260 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.006025, allocations: 75.47 kB / 260.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.006056, allocations: 158.9 kB / 260.3 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.006086, allocations: 154.5 kB / 260.4 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.006139, allocations: 154.5 kB / 260.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.006269, allocations: 361.3 kB / 260.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.006323, allocations: 169.1 kB / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.006341, allocations: 80.14 kB / 261.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.006358, allocations: 79.28 kB / 261.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.006386, allocations: 109.8 kB / 261.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.006387, allocations: 0 / 261.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.251e-05/0.00643, allocations: 33.64 kB / 261.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.006469, allocations: 130.7 kB / 261.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.006552, allocations: 147.3 kB / 261.6 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.006559, allocations: 29.7 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.006579, allocations: 88.12 kB / 261.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-07/0.00658, allocations: 4 kB / 261.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.006593, allocations: 9.719 kB / 261.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.006663, allocations: 330.7 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-06/0.006666, allocations: 0 / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-06/0.006669, allocations: 4 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.529e-05/0.006684, allocations: 79.22 kB / 262.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.006698, allocations: 75.28 kB / 262.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.153e-05/0.00673, allocations: 41.62 kB / 262.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.006752, allocations: 83.28 kB / 262.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.006767, allocations: 75.28 kB / 262.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.0068, allocations: 158.6 kB / 262.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.006819, allocations: 79.22 kB / 262.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.006846, allocations: 150.7 kB / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.006887, allocations: 91.17 kB / 262.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.0069, allocations: 79.27 kB / 263 MB, free: 13.61 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 6.881e-05/0.006969, allocations: 259.2 kB / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.006998, allocations: 105 kB / 263.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.007033, allocations: 125.2 kB / 263.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.007069, allocations: 184.3 kB / 263.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.418e-05/0.007103, allocations: 180.2 kB / 263.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/0.007137, allocations: 180.3 kB / 264 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.00729, allocations: 337.4 kB / 264.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.007311, allocations: 108.9 kB / 264.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.007331, allocations: 105 kB / 264.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.007357, allocations: 112.9 kB / 264.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.263e-05/0.00739, allocations: 176.3 kB / 264.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.007424, allocations: 180.3 kB / 265 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.766e-05/0.007462, allocations: 184.2 kB / 265.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-05/0.007494, allocations: 180.2 kB / 265.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/0.007573, allocations: 311.7 kB / 265.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.007613, allocations: 188.2 kB / 265.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.007655, allocations: 105 kB / 265.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.00769, allocations: 176.3 kB / 266.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.00771, allocations: 108.9 kB / 266.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.007739, allocations: 42.44 kB / 266.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007739, allocations: 0 / 266.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.007862, allocations: 4 kB / 266.3 MB, free: 10.15 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 8.341e-05/0.007946, allocations: 151.7 kB / 266.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.659e-05/0.007972, allocations: 4.328 kB / 266.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.007976, allocations: 4 kB / 266.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.007977, allocations: 4 kB / 266.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.008225, allocations: 483.5 kB / 266.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.008957, allocations: 254.3 kB / 267.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.008989, allocations: 59.34 kB / 267.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.105e-05/0.00901, allocations: 7.984 kB / 267.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.009047, allocations: 55.38 kB / 267.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.009047, allocations: 0 / 267.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of Templates: time 0.001878/0.01092, allocations: 0.5676 MB / 267.8 MB, free: 8.531 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.572251728735864]