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.001395/0.001395, allocations: 93.06 kB / 19.65 MB, free: 276 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.001694/0.001694, allocations: 165 kB / 23.02 MB, free: 1.551 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.9938/0.9938, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1438/0.1438, allocations: 21.79 MB / 281.7 MB, free: 7.188 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.134e-06/2.134e-06, allocations: 0 / 358.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.562e-05, allocations: 6.312 kB / 358.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002791/0.002816, allocations: 2.259 MB / 361 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.003632, allocations: 454.5 kB / 361.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.003752, allocations: 4 kB / 361.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.003887, allocations: 47.45 kB / 361.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.004024, allocations: 31.62 kB / 361.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.004488, allocations: 151.6 kB / 361.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.004772, allocations: 316.7 kB / 362 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.005066, allocations: 155.2 kB / 362.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.005277, allocations: 199.5 kB / 362.3 MB, free: 1.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.005487, allocations: 127.5 kB / 362.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.00555, allocations: 36 kB / 362.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.005719, allocations: 75.88 kB / 362.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.005883, allocations: 127.5 kB / 362.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.006008, allocations: 123.6 kB / 362.8 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.006474, allocations: 338.4 kB / 363.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006478, allocations: 0 / 363.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006479, allocations: 0 / 363.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.006486, allocations: 0 / 363.1 MB, free: 0.6836 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.001004/0.00749, allocations: 0.8212 MB / 364 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.007534, allocations: 8.031 kB / 364 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.00771, allocations: 104.5 kB / 364.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.007876, allocations: 230.6 kB / 364.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.007911, allocations: 33.38 kB / 364.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.007952, allocations: 44.38 kB / 364.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.008371, allocations: 357 kB / 364.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.008386, allocations: 8.125 kB / 364.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.008418, allocations: 20.38 kB / 364.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.008432, allocations: 8.375 kB / 364.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.008666, allocations: 169.8 kB / 364.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/0.00966, allocations: 0.983 MB / 365.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.01014, allocations: 281.2 kB / 366.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01024, allocations: 83.33 kB / 366.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.01031, allocations: 36.98 kB / 366.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.01052, allocations: 188 kB / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.292e-06/0.01052, allocations: 0 / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0004375/0.01096, allocations: 317.7 kB / 366.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.01101, allocations: 85.11 kB / 366.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01124, allocations: 374.7 kB / 367.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.01126, allocations: 37.7 kB / 367.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.0114, allocations: 303.4 kB / 367.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.01149, allocations: 138.8 kB / 367.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.01156, allocations: 63.36 kB / 367.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01172, allocations: 0.5313 MB / 368.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.0118, allocations: 51.95 kB / 368.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.01189, allocations: 102.8 kB / 368.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.01217, allocations: 241.6 kB / 368.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01217, allocations: 0 / 368.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002779/0.01245, allocations: 269.1 kB / 369 MB, free: 10.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01247, allocations: 8 kB / 369 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01247, allocations: 0 / 369 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01249, allocations: 4 kB / 369 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01265, allocations: 67.91 kB / 369 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01266, allocations: 4 kB / 369 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.01272, allocations: 23.84 kB / 369.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.01273, allocations: 16.03 kB / 369.1 MB, free: 10.46 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.0001535/0.01289, allocations: 185.2 kB / 369.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.01293, allocations: 51.77 kB / 369.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.01327, allocations: 277.6 kB / 369.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.01328, allocations: 11.98 kB / 369.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01328, allocations: 3.938 kB / 369.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.01329, allocations: 0 / 369.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.01358, allocations: 356.2 kB / 369.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01358, allocations: 0 / 369.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.01371, allocations: 59.91 kB / 370 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01372, allocations: 4 kB / 370 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01374, allocations: 8 kB / 370 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01374, allocations: 4 kB / 370 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01374, allocations: 0 / 370 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01404, allocations: 319 kB / 370.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.01407, allocations: 35.7 kB / 370.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.0141, allocations: 12 kB / 370.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.01416, allocations: 19.98 kB / 370.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.01422, allocations: 27.95 kB / 370.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01423, allocations: 15.98 kB / 370.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01437, allocations: 251 kB / 370.7 MB, free: 8.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01437, allocations: 0 / 370.7 MB, free: 8.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01456, allocations: 91.62 kB / 370.8 MB, free: 8.688 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.0001409/0.0147, allocations: 115.2 kB / 370.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.01496, allocations: 183.3 kB / 371.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01497, allocations: 4.062 kB / 371.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.01509, allocations: 120.2 kB / 371.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01528, allocations: 37.36 kB / 371.2 MB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007913/0.01608, allocations: 0.7363 MB / 372 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.899e-05/0.01615, allocations: 128.8 kB / 372.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.01623, allocations: 29.94 kB / 372.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.01629, allocations: 32.5 kB / 372.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01629, allocations: 0 / 372.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of Templates: time 0.004747/0.02104, allocations: 2.221 MB / 374.4 MB, free: 5.055 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: 3.3034765222109854]