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.001211/0.001211, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001719/0.001719, allocations: 173 kB / 23.49 MB, free: 1.055 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.174/1.174, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.1512/0.1512, allocations: 21.81 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.473e-06/1.473e-06, allocations: 0 / 358.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.197e-05, allocations: 6.25 kB / 358.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002844/0.002866, allocations: 2.239 MB / 361 MB, free: 3.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003925, allocations: 446.5 kB / 361.5 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.004105, allocations: 8 kB / 361.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004237, allocations: 43.45 kB / 361.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.004373, allocations: 43.61 kB / 361.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.004987, allocations: 147.6 kB / 361.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.005289, allocations: 324.6 kB / 362 MB, free: 2.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.005551, allocations: 147.2 kB / 362.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.005726, allocations: 211.5 kB / 362.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.005896, allocations: 119.5 kB / 362.5 MB, free: 1.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.005942, allocations: 36 kB / 362.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.006078, allocations: 63.97 kB / 362.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.006216, allocations: 139.5 kB / 362.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.006315, allocations: 119.6 kB / 362.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.006705, allocations: 334.4 kB / 363.2 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.006709, allocations: 4 kB / 363.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00671, allocations: 0 / 363.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.006717, allocations: 0 / 363.2 MB, free: 0.9141 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.007722, allocations: 0.8172 MB / 364 MB, free: 56 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.007767, allocations: 12.03 kB / 364 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.007991, allocations: 108.4 kB / 364.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.008186, allocations: 226.6 kB / 364.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.008227, allocations: 29.38 kB / 364.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.008269, allocations: 48.38 kB / 364.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.00877, allocations: 361 kB / 364.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.008787, allocations: 4.125 kB / 364.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.008819, allocations: 20.38 kB / 364.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.008836, allocations: 12.38 kB / 364.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.009093, allocations: 169.8 kB / 364.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.01027, allocations: 0.9829 MB / 365.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.01079, allocations: 273.3 kB / 366.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.01091, allocations: 79.34 kB / 366.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.01098, allocations: 40.97 kB / 366.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.01122, allocations: 188 kB / 366.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.744e-06/0.01122, allocations: 0 / 366.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005206/0.01174, allocations: 325.7 kB / 366.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.01181, allocations: 85.09 kB / 366.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.01206, allocations: 366.8 kB / 367.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01208, allocations: 37.7 kB / 367.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.01223, allocations: 303.4 kB / 367.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/0.01233, allocations: 142.8 kB / 367.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.0124, allocations: 71.34 kB / 367.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01257, allocations: 0.5274 MB / 368.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.01266, allocations: 51.97 kB / 368.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.01277, allocations: 106.7 kB / 368.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.01307, allocations: 233.7 kB / 368.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01307, allocations: 0 / 368.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002943/0.01336, allocations: 265.1 kB / 369 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01338, allocations: 8.031 kB / 369 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01338, allocations: 0 / 369 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.0134, allocations: 4 kB / 369 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.01358, allocations: 75.84 kB / 369.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01359, allocations: 0 / 369.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.01366, allocations: 27.83 kB / 369.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01367, allocations: 12 kB / 369.1 MB, free: 10.7 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.0001878/0.01386, allocations: 181.3 kB / 369.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.01391, allocations: 55.75 kB / 369.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.01428, allocations: 289.2 kB / 369.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01428, allocations: 4.281 kB / 369.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.01429, allocations: 0 / 369.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.01429, allocations: 3.984 kB / 369.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.01459, allocations: 340.3 kB / 369.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.0146, allocations: 3.984 kB / 369.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.01474, allocations: 67.91 kB / 370 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01475, allocations: 4 kB / 370 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.01477, allocations: 11.98 kB / 370 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.01477, allocations: 0 / 370 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01477, allocations: 0 / 370 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.01509, allocations: 327 kB / 370.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.01513, allocations: 39.69 kB / 370.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.01516, allocations: 8 kB / 370.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.01522, allocations: 16 kB / 370.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.01529, allocations: 27.94 kB / 370.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.0153, allocations: 8 kB / 370.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.01545, allocations: 251.1 kB / 370.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 0 / 370.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01569, allocations: 103.6 kB / 370.8 MB, free: 8.91 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.0001647/0.01585, allocations: 107.2 kB / 370.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.01615, allocations: 187.2 kB / 371.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01615, allocations: 4 kB / 371.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01629, allocations: 116.3 kB / 371.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01651, allocations: 33.48 kB / 371.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.01739, allocations: 0.744 MB / 372 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.01748, allocations: 124.8 kB / 372.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.929e-05/0.01756, allocations: 29.94 kB / 372.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.01762, allocations: 36.48 kB / 372.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01762, allocations: 0 / 372.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of Templates: time 0.00516/0.02278, allocations: 2.223 MB / 374.4 MB, free: 5.281 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.651354758068919]