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.001096/0.001096, allocations: 73.09 kB / 20.66 MB, free: 3.848 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.0009449/0.0009449, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.9341/0.9341, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.1424/0.1424, allocations: 21.8 MB / 282.8 MB, free: 7.023 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.434e-06/2.434e-06, allocations: 3.938 kB / 360 MB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.508e-05, allocations: 2.312 kB / 360 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003354/0.00339, allocations: 2.227 MB / 362.2 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.004226, allocations: 446.5 kB / 362.7 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004365, allocations: 8 kB / 362.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.00447, allocations: 51.39 kB / 362.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.004581, allocations: 31.62 kB / 362.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.005021, allocations: 147.7 kB / 362.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.005259, allocations: 324.6 kB / 363.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.005449, allocations: 155.1 kB / 363.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.005598, allocations: 203.5 kB / 363.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.005737, allocations: 123.5 kB / 363.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.005775, allocations: 39.94 kB / 363.7 MB, free: 1.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.00588, allocations: 63.97 kB / 363.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.005982, allocations: 143.5 kB / 363.9 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.006059, allocations: 111.6 kB / 364 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.006364, allocations: 338.4 kB / 364.4 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006366, allocations: 0 / 364.4 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006368, allocations: 0 / 364.4 MB, free: 432 kB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006373, allocations: 4 kB / 364.4 MB, free: 428 kB / 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.0008477/0.007221, allocations: 0.8288 MB / 365.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.007253, allocations: 8.031 kB / 365.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.0074, allocations: 100.5 kB / 365.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.007532, allocations: 234.6 kB / 365.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.007562, allocations: 29.38 kB / 365.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.007594, allocations: 48.38 kB / 365.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.007917, allocations: 329 kB / 365.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.007928, allocations: 4.188 kB / 365.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.007952, allocations: 20.38 kB / 365.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007961, allocations: 12.38 kB / 366 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.008115, allocations: 138.7 kB / 366.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.008968, allocations: 0.9093 MB / 367 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.009368, allocations: 257.2 kB / 367.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.009437, allocations: 71.34 kB / 367.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.009486, allocations: 40.97 kB / 367.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.009655, allocations: 172 kB / 367.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.009657, allocations: 0 / 367.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.000346/0.01, allocations: 286.4 kB / 367.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.01005, allocations: 85.11 kB / 367.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01023, allocations: 366.6 kB / 368.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.01026, allocations: 37.7 kB / 368.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01039, allocations: 319.3 kB / 368.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.01047, allocations: 134.7 kB / 368.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.01053, allocations: 71.31 kB / 368.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01067, allocations: 0.5312 MB / 369.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.01072, allocations: 35.97 kB / 369.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.01079, allocations: 86.73 kB / 369.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.01099, allocations: 213.7 kB / 369.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01099, allocations: 0 / 369.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002118/0.0112, allocations: 249.1 kB / 369.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01122, allocations: 8 kB / 369.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01122, allocations: 0 / 369.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.01123, allocations: 4 kB / 369.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01139, allocations: 67.91 kB / 370 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.0114, allocations: 4 kB / 370 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.01146, allocations: 23.84 kB / 370 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01147, allocations: 11.98 kB / 370 MB, free: 10.48 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.0001539/0.01163, allocations: 181.3 kB / 370.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.01167, allocations: 55.7 kB / 370.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.01196, allocations: 253.4 kB / 370.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01196, allocations: 4 kB / 370.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01196, allocations: 0 / 370.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01197, allocations: 3.938 kB / 370.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.0122, allocations: 276.9 kB / 370.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.0122, allocations: 0 / 370.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.01234, allocations: 71.84 kB / 370.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01234, allocations: 4 kB / 370.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01236, allocations: 11.98 kB / 370.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01236, allocations: 3.938 kB / 370.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01236, allocations: 0 / 370.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.01261, allocations: 303.1 kB / 371.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.01264, allocations: 39.64 kB / 371.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01267, allocations: 11.98 kB / 371.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.01273, allocations: 12 kB / 371.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.01277, allocations: 27.94 kB / 371.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.01279, allocations: 12 kB / 371.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.0129, allocations: 235 kB / 371.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0129, allocations: 0 / 371.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01311, allocations: 95.62 kB / 371.6 MB, free: 8.84 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.0001329/0.01325, allocations: 119.2 kB / 371.7 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.01345, allocations: 155.6 kB / 371.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01345, allocations: 0 / 371.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.01354, allocations: 112 kB / 372 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01372, allocations: 40.39 kB / 372 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.01445, allocations: 0.7361 MB / 372.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.01452, allocations: 124.8 kB / 372.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.0146, allocations: 33.94 kB / 372.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.01469, allocations: 102.2 kB / 373 MB, free: 7.359 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01469, allocations: 0 / 373 MB, free: 7.359 MB / 346.7 MB Notification: Performance of Templates: time 0.007076/0.02176, allocations: 2.488 MB / 375.5 MB, free: 4.902 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: 2.845735135022551]