Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.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.001466/0.001466, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] 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.001739/0.001739, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.2039/0.2039, allocations: 21.79 MB / 281.4 MB, free: 7.195 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 358 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.122e-05, allocations: 6.25 kB / 358 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003726/0.003757, allocations: 2.204 MB / 360.2 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.004796, allocations: 430.8 kB / 360.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004908, allocations: 7.938 kB / 360.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.005056, allocations: 47.45 kB / 360.7 MB, free: 2.734 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.005212, allocations: 31.61 kB / 360.7 MB, free: 2.703 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.005714, allocations: 151.7 kB / 360.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.006089, allocations: 324.6 kB / 361.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.006374, allocations: 143.2 kB / 361.3 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.006627, allocations: 207.5 kB / 361.6 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.006821, allocations: 123.5 kB / 361.7 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.006888, allocations: 36 kB / 361.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.007033, allocations: 71.91 kB / 361.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.007193, allocations: 131.5 kB / 361.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.007339, allocations: 123.6 kB / 362 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.007903, allocations: 442.2 kB / 362.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007905, allocations: 0 / 362.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007906, allocations: 0 / 362.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007911, allocations: 0 / 362.5 MB, free: 0.9805 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001331/0.009242, allocations: 0.7173 MB / 363.2 MB, free: 232 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.009274, allocations: 8.031 kB / 363.2 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.009528, allocations: 108.5 kB / 363.3 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.009799, allocations: 227.7 kB / 363.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.009846, allocations: 37.36 kB / 363.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.009906, allocations: 44.38 kB / 363.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.01076, allocations: 462.6 kB / 364 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.01078, allocations: 4.125 kB / 364 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.01082, allocations: 20.38 kB / 364.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.01083, allocations: 12.38 kB / 364.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.01159, allocations: 371.7 kB / 364.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01323, allocations: 0.9576 MB / 365.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.01454, allocations: 496.6 kB / 365.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.01488, allocations: 165.6 kB / 366 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.01496, allocations: 40.97 kB / 366.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.01551, allocations: 268.7 kB / 366.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.463e-06/0.01552, allocations: 0 / 366.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.001218/0.01673, allocations: 0.5707 MB / 366.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.01681, allocations: 81.11 kB / 367 MB, free: 12.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.01721, allocations: 345.7 kB / 367.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.01726, allocations: 41.69 kB / 367.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.01749, allocations: 252.6 kB / 367.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.01764, allocations: 142.8 kB / 367.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01774, allocations: 57.7 kB / 367.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.01795, allocations: 350.7 kB / 368.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.01826, allocations: 143.9 kB / 368.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.0186, allocations: 182.2 kB / 368.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.02147, allocations: 0.6739 MB / 369.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02147, allocations: 0 / 369.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008508/0.02232, allocations: 453.1 kB / 369.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.02234, allocations: 8 kB / 369.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02234, allocations: 0 / 369.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.02236, allocations: 4 kB / 369.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.02269, allocations: 67.89 kB / 369.7 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.02271, allocations: 7.938 kB / 369.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.02287, allocations: 27.89 kB / 369.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.02289, allocations: 8 kB / 369.7 MB, free: 9.484 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: Eggs.level:DISCRETE(start = Eggs.x0 fixed = true ) \"Discrete state variable\" type: Real Rawfiber.level:DISCRETE(start = Rawfiber.x0 fixed = true ) \"Discrete state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.Eggs.level,$PRE.Rawfiber.level,Rawfiber.level,Eggs.level) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002728/0.02317, allocations: 193.7 kB / 369.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.02325, allocations: 51.7 kB / 370 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.02422, allocations: 468.8 kB / 370.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.02423, allocations: 4 kB / 370.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.02423, allocations: 8 kB / 370.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02424, allocations: 0 / 370.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.02475, allocations: 392.8 kB / 370.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02476, allocations: 0 / 370.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.02507, allocations: 67.91 kB / 370.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02508, allocations: 0 / 370.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.0251, allocations: 8 kB / 370.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.02511, allocations: 7.984 kB / 370.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02511, allocations: 0 / 370.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.02601, allocations: 481.1 kB / 371.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.02607, allocations: 43.69 kB / 371.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.02612, allocations: 4 kB / 371.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.02629, allocations: 19.98 kB / 371.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.02637, allocations: 27.89 kB / 371.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.02639, allocations: 8 kB / 371.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.0267, allocations: 255.1 kB / 371.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0267, allocations: 0 / 371.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.02706, allocations: 91.67 kB / 371.8 MB, free: 7.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,Eggs.level,Rawfiber.level) * Number of discrete states: 2 (Eggs.level,Rawfiber.level) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002237/0.02728, allocations: 115.2 kB / 371.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007473/0.02803, allocations: 343.5 kB / 372.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.02804, allocations: 4 kB / 372.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.02842, allocations: 195.5 kB / 372.4 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.02869, allocations: 33.39 kB / 372.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.03022, allocations: 0.8571 MB / 373.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.03051, allocations: 247 kB / 373.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.03064, allocations: 29.95 kB / 373.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.03072, allocations: 32.48 kB / 373.6 MB, free: 5.434 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03072, allocations: 0 / 373.6 MB, free: 5.434 MB / 346.7 MB Notification: Performance of Templates: time 0.006972/0.0377, allocations: 2.207 MB / 375.8 MB, free: 3.254 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; mkfifo SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe >> ../files/SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.sim & ./SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.443826803937554]