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.001006/0.001006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002389, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001051/0.001051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002451, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8843/0.8843, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0827/0.967, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.114/0.114, allocations: 21.79 MB / 265.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01268/0.1266, allocations: 7.855 MB / 273.8 MB, free: 1.02 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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.293e-06/1.293e-06, allocations: 0 / 275.1 MB, free: 420 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.093e-05, allocations: 4.312 kB / 275.1 MB, free: 416 kB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002164/0.002175, allocations: 2.286 MB / 277.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.002841, allocations: 474.3 kB / 277.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.002939, allocations: 4.562 kB / 277.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.003038, allocations: 46.39 kB / 277.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.003123, allocations: 34.25 kB / 277.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.003423, allocations: 151.9 kB / 278.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.003662, allocations: 307.2 kB / 278.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.003855, allocations: 161.9 kB / 278.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.004048, allocations: 237.9 kB / 278.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.004193, allocations: 118.6 kB / 278.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.004233, allocations: 34.5 kB / 278.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.004362, allocations: 75.27 kB / 279 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.004456, allocations: 109.5 kB / 279.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.004522, allocations: 95.56 kB / 279.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.004803, allocations: 302.2 kB / 279.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.004813, allocations: 1.062 kB / 279.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004814, allocations: 1.312 kB / 279.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.004823, allocations: 0 / 279.5 MB, free: 14.76 MB / 282.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.0007933/0.005616, allocations: 0.7822 MB / 280.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.005643, allocations: 9.406 kB / 280.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.005812, allocations: 153 kB / 280.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.005935, allocations: 228.9 kB / 280.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.005967, allocations: 35.69 kB / 280.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.006002, allocations: 42.53 kB / 280.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.006343, allocations: 347 kB / 281 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006353, allocations: 1.375 kB / 281 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.006372, allocations: 15.69 kB / 281.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.006381, allocations: 11.94 kB / 281.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.006525, allocations: 120.3 kB / 281.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.007278, allocations: 0.7114 MB / 281.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.007644, allocations: 261.6 kB / 282.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.007706, allocations: 60.95 kB / 282.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.007759, allocations: 42.69 kB / 282.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.007933, allocations: 171.1 kB / 282.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.007935, allocations: 1.219 kB / 282.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=41): time 0.0002543/0.008189, allocations: 206.8 kB / 282.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008226, allocations: 83.77 kB / 282.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.008393, allocations: 293.3 kB / 283 MB, free: 12.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.008416, allocations: 37.2 kB / 283 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.008504, allocations: 212.2 kB / 283.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.00858, allocations: 140.1 kB / 283.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.008639, allocations: 60.88 kB / 283.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.008735, allocations: 353.8 kB / 283.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.008782, allocations: 33.66 kB / 283.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.00885, allocations: 74.72 kB / 283.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.00906, allocations: 185.4 kB / 284.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.009063, allocations: 11.88 kB / 284.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001936/0.009257, allocations: 186 kB / 284.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.009271, allocations: 7 kB / 284.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009275, allocations: 0 / 284.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.009287, allocations: 2.828 kB / 284.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.009467, allocations: 85.52 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.009471, allocations: 2.219 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.009532, allocations: 28.42 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.009545, allocations: 11.34 kB / 284.4 MB, free: 11.85 MB / 282.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.0001347/0.00968, allocations: 143.8 kB / 284.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.009719, allocations: 39.56 kB / 284.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.009962, allocations: 209.6 kB / 284.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009966, allocations: 4.281 kB / 284.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.009968, allocations: 1.25 kB / 284.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.009974, allocations: 2.203 kB / 284.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.01021, allocations: 222.4 kB / 285 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01021, allocations: 4 kB / 285 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.01036, allocations: 70.7 kB / 285.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.01039, allocations: 53.02 kB / 285.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.0104, allocations: 2.672 kB / 285.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01041, allocations: 8.922 kB / 285.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01042, allocations: 2.375 kB / 285.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01042, allocations: 1.062 kB / 285.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.01062, allocations: 223.7 kB / 285.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.01065, allocations: 11.94 kB / 285.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.01071, allocations: 16.86 kB / 285.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.01076, allocations: 26.05 kB / 285.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01077, allocations: 10.52 kB / 285.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.365e-05/0.01085, allocations: 117.8 kB / 285.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01085, allocations: 0 / 285.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01102, allocations: 94.02 kB / 285.6 MB, free: 11.23 MB / 282.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.0001259/0.01115, allocations: 97.98 kB / 285.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.01135, allocations: 151.7 kB / 285.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/0.01136, allocations: 10.61 kB / 285.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.01149, allocations: 123 kB / 286 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.01166, allocations: 72.41 kB / 286.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.01258, allocations: 0.7458 MB / 286.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.716e-05/0.01268, allocations: 130.4 kB / 287 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.165e-05/0.01276, allocations: 28.92 kB / 287 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.01286, allocations: 80.39 kB / 287.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01286, allocations: 0 / 287.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Templates: time 0.005179/0.01804, allocations: 2.488 MB / 289.5 MB, free: 9.531 MB / 282.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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6129427906125784]