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.001102/0.001102, allocations: 92.7 kB / 20.21 MB, free: 4.227 MB / 18.57 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.001234/0.001234, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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 0.8652/0.8652, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.125/0.125, allocations: 21.79 MB / 282.1 MB, free: 7.25 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 1.664e-06/1.664e-06, allocations: 0 / 358.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.882e-05, allocations: 6.312 kB / 358.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002161/0.00218, allocations: 2.193 MB / 361 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.002912, allocations: 446.6 kB / 361.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.003037, allocations: 7.938 kB / 361.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003147, allocations: 43.47 kB / 361.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.003257, allocations: 35.61 kB / 361.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.003656, allocations: 155.6 kB / 361.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.003868, allocations: 320.6 kB / 362 MB, free: 2.273 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.004052, allocations: 147.2 kB / 362.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004183, allocations: 203.5 kB / 362.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.004311, allocations: 127.5 kB / 362.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.004353, allocations: 32 kB / 362.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.004455, allocations: 67.91 kB / 362.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.004554, allocations: 135.5 kB / 362.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.00463, allocations: 127.5 kB / 362.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.004954, allocations: 438.2 kB / 363.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004956, allocations: 0 / 363.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004957, allocations: 0 / 363.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.004962, allocations: 0 / 363.2 MB, free: 1.016 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.0007498/0.005712, allocations: 0.7212 MB / 363.9 MB, free: 264 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005742, allocations: 8.031 kB / 363.9 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.005888, allocations: 100.5 kB / 364 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.006036, allocations: 231.8 kB / 364.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.006059, allocations: 33.38 kB / 364.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.006093, allocations: 44.38 kB / 364.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.00655, allocations: 462.6 kB / 364.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.006561, allocations: 192 / 364.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.006584, allocations: 24.36 kB / 364.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.006593, allocations: 12.38 kB / 364.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.006978, allocations: 371.7 kB / 365.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/0.007891, allocations: 0.9692 MB / 366.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.00853, allocations: 494 kB / 366.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.008697, allocations: 157.6 kB / 366.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.008745, allocations: 40.97 kB / 366.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.009011, allocations: 268.7 kB / 367.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.433e-06/0.009012, allocations: 4 kB / 367.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006291/0.009641, allocations: 0.5746 MB / 367.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.00968, allocations: 81.11 kB / 367.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.009902, allocations: 345.7 kB / 368.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.009921, allocations: 33.7 kB / 368.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01003, allocations: 256.5 kB / 368.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.0101, allocations: 142.8 kB / 368.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.01016, allocations: 57.7 kB / 368.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.01026, allocations: 358.7 kB / 368.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.0104, allocations: 143.9 kB / 369.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.01057, allocations: 186.2 kB / 369.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.01185, allocations: 0.6737 MB / 369.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.01185, allocations: 0 / 369.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004122/0.01226, allocations: 441.1 kB / 370.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01228, allocations: 4 kB / 370.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01228, allocations: 4 kB / 370.4 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.01229, allocations: 8.016 kB / 370.4 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01245, allocations: 79.84 kB / 370.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01245, allocations: 0 / 370.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.01252, allocations: 27.83 kB / 370.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01253, allocations: 12 kB / 370.5 MB, free: 9.504 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.0001645/0.0127, allocations: 185.7 kB / 370.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.01274, allocations: 51.77 kB / 370.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.01322, allocations: 465 kB / 371.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01322, allocations: 4.047 kB / 371.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01323, allocations: 3.984 kB / 371.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.01323, allocations: 3.984 kB / 371.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.01351, allocations: 392.8 kB / 371.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01351, allocations: 0 / 371.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.01365, allocations: 67.91 kB / 371.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01366, allocations: 0 / 371.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01367, allocations: 15.98 kB / 371.7 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01367, allocations: 0 / 371.7 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01368, allocations: 4 kB / 371.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.01411, allocations: 477 kB / 372.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01413, allocations: 35.7 kB / 372.2 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.01417, allocations: 15.94 kB / 372.2 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.01423, allocations: 19.98 kB / 372.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.0143, allocations: 23.95 kB / 372.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01431, allocations: 19.92 kB / 372.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.01447, allocations: 247.2 kB / 372.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01447, allocations: 0 / 372.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000209/0.01468, allocations: 91.67 kB / 372.6 MB, free: 7.359 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.0001144/0.01479, allocations: 111.2 kB / 372.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.01519, allocations: 355.5 kB / 373 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01519, allocations: 0 / 373 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.01537, allocations: 187.5 kB / 373.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01555, allocations: 44.19 kB / 373.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.01639, allocations: 0.8571 MB / 374.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.01654, allocations: 243 kB / 374.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.01661, allocations: 29.94 kB / 374.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.01666, allocations: 28.5 kB / 374.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01667, allocations: 0 / 374.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of Templates: time 0.004189/0.02085, allocations: 2.211 MB / 376.6 MB, free: 3.285 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.685972997918725]