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.002705/0.002705, allocations: 93.47 kB / 19.44 MB, free: 336 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.002983/0.002983, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1978/0.1978, allocations: 21.8 MB / 281.4 MB, free: 7.215 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.933e-06/1.933e-06, allocations: 0 / 358 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.754e-05, allocations: 2.312 kB / 358 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.00381/0.003837, allocations: 2.228 MB / 360.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004868, allocations: 434.8 kB / 360.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.004991, allocations: 7.938 kB / 360.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.005134, allocations: 47.45 kB / 360.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.005285, allocations: 27.62 kB / 360.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.005764, allocations: 147.7 kB / 360.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.006137, allocations: 320.6 kB / 361.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.006416, allocations: 151.2 kB / 361.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.006662, allocations: 211.5 kB / 361.6 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.00686, allocations: 123.5 kB / 361.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.006928, allocations: 32 kB / 361.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.007087, allocations: 75.89 kB / 361.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.007245, allocations: 131.5 kB / 361.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.007389, allocations: 123.5 kB / 362.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.007978, allocations: 438.3 kB / 362.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007981, allocations: 0 / 362.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007982, allocations: 0 / 362.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.007988, allocations: 4 kB / 362.5 MB, free: 0.8359 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.001381/0.009369, allocations: 0.8365 MB / 363.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.009404, allocations: 12.03 kB / 363.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.009647, allocations: 108.5 kB / 363.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.009911, allocations: 226.6 kB / 363.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.009955, allocations: 41.31 kB / 363.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.01001, allocations: 40.38 kB / 363.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.01077, allocations: 420.4 kB / 364.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.01079, allocations: 4.125 kB / 364.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.01083, allocations: 20.38 kB / 364.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01084, allocations: 8.375 kB / 364.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.01142, allocations: 251.8 kB / 364.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01315, allocations: 1.053 MB / 365.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.01411, allocations: 346.5 kB / 365.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.01437, allocations: 111.3 kB / 365.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.308e-05/0.01445, allocations: 40.97 kB / 366 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.0149, allocations: 228 kB / 366.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.01491, allocations: 0 / 366.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0009513/0.01586, allocations: 405.7 kB / 366.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.01593, allocations: 93.09 kB / 366.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.01637, allocations: 402.8 kB / 367.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.01642, allocations: 37.7 kB / 367.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.0167, allocations: 319.3 kB / 367.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.01686, allocations: 142.8 kB / 367.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01698, allocations: 71.34 kB / 367.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.01733, allocations: 0.543 MB / 368.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.01756, allocations: 87.95 kB / 368.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.01783, allocations: 134.7 kB / 368.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.01858, allocations: 353.6 kB / 368.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.01859, allocations: 8 kB / 368.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000701/0.01929, allocations: 329.1 kB / 369.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.01931, allocations: 8 kB / 369.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01932, allocations: 0 / 369.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.01934, allocations: 4 kB / 369.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.01968, allocations: 71.84 kB / 369.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.0197, allocations: 4 kB / 369.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.01986, allocations: 27.91 kB / 369.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.01988, allocations: 12 kB / 369.2 MB, free: 9.844 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.0003239/0.02021, allocations: 204.3 kB / 369.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.0203, allocations: 51.77 kB / 369.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.02111, allocations: 333.4 kB / 369.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.02112, allocations: 4 kB / 369.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.02113, allocations: 0 / 369.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.02113, allocations: 4 kB / 369.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.02176, allocations: 400.2 kB / 370.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.02177, allocations: 4.219 kB / 370.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.02207, allocations: 67.91 kB / 370.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02207, allocations: 0 / 370.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.0221, allocations: 11.98 kB / 370.3 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.02211, allocations: 0 / 370.3 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.02211, allocations: 4 kB / 370.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.02287, allocations: 391 kB / 370.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.02294, allocations: 35.7 kB / 370.7 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.023, allocations: 15.98 kB / 370.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02314, allocations: 12 kB / 370.7 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.02324, allocations: 23.95 kB / 370.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.02326, allocations: 11.98 kB / 370.7 MB, free: 8.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003054/0.02357, allocations: 263.1 kB / 371 MB, free: 7.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02357, allocations: 0 / 371 MB, free: 7.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.02398, allocations: 99.61 kB / 371.1 MB, free: 7.871 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.0002243/0.02421, allocations: 115.2 kB / 371.2 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.02481, allocations: 251.3 kB / 371.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.02481, allocations: 4 kB / 371.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.02511, allocations: 156.2 kB / 371.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.02539, allocations: 37.39 kB / 371.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.02676, allocations: 0.7831 MB / 372.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.02703, allocations: 239.1 kB / 372.7 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.02716, allocations: 33.88 kB / 372.7 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.02725, allocations: 32.48 kB / 372.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02725, allocations: 0 / 372.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of Templates: time 0.007038/0.03429, allocations: 2.196 MB / 374.9 MB, free: 3.992 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.920657992945053]