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.001253/0.001253, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001506/0.001506, allocations: 181 kB / 23.36 MB, free: 1.133 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.9051/0.9051, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.1203/0.1203, allocations: 21.8 MB / 282.1 MB, free: 7.059 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.423e-06/1.423e-06, allocations: 0 / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.069e-05, allocations: 7.078 kB / 306 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002464/0.002475, allocations: 2.27 MB / 308.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.003146, allocations: 468.1 kB / 308.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.003232, allocations: 4 kB / 308.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003336, allocations: 47.45 kB / 308.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.003442, allocations: 31.56 kB / 308.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.003773, allocations: 155.6 kB / 309 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.003984, allocations: 316.7 kB / 309.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.00417, allocations: 165.1 kB / 309.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.004301, allocations: 195.6 kB / 309.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.004423, allocations: 123.5 kB / 309.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.004461, allocations: 36 kB / 309.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.004576, allocations: 75.94 kB / 309.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.004663, allocations: 132.3 kB / 310 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.004731, allocations: 119.5 kB / 310.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.004983, allocations: 342.4 kB / 310.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004985, allocations: 3.938 kB / 310.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004985, allocations: 0 / 310.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004989, allocations: 0 / 310.4 MB, free: 5.605 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.0006274/0.005617, allocations: 0.697 MB / 311.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.005643, allocations: 12.03 kB / 311.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.005764, allocations: 76.88 kB / 311.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.005883, allocations: 223.8 kB / 311.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.00591, allocations: 33.31 kB / 311.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.00594, allocations: 44.38 kB / 311.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.006243, allocations: 342.1 kB / 311.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.006255, allocations: 192 / 311.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.006273, allocations: 20.38 kB / 311.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.006282, allocations: 12.38 kB / 311.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.006416, allocations: 121.6 kB / 312 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.007131, allocations: 0.6954 MB / 312.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.007474, allocations: 275.1 kB / 313 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.007534, allocations: 57.7 kB / 313 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.007582, allocations: 44.72 kB / 313.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.007731, allocations: 163.5 kB / 313.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.292e-06/0.007732, allocations: 0 / 313.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=41): time 0.0002374/0.00797, allocations: 205.8 kB / 313.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.008004, allocations: 85.09 kB / 313.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.008154, allocations: 295.4 kB / 313.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.008174, allocations: 41.64 kB / 313.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.00825, allocations: 217.5 kB / 314 MB, free: 1.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.008319, allocations: 134.8 kB / 314.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.008374, allocations: 61.66 kB / 314.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.008451, allocations: 354.7 kB / 314.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.008494, allocations: 30.81 kB / 314.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.008552, allocations: 78.3 kB / 314.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.008732, allocations: 207.8 kB / 314.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008735, allocations: 7.938 kB / 314.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001624/0.008897, allocations: 180.2 kB / 315.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.008908, allocations: 4 kB / 315.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008913, allocations: 3.984 kB / 315.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.008924, allocations: 4 kB / 315.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.00909, allocations: 75.91 kB / 315.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.009093, allocations: 0 / 315.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.009153, allocations: 19.89 kB / 315.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.009401, allocations: 12.03 kB / 315.2 MB, free: 0.6211 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.0001573/0.009558, allocations: 162.1 kB / 315.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.009606, allocations: 35.97 kB / 315.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.009835, allocations: 201.3 kB / 315.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.009839, allocations: 4 kB / 315.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009841, allocations: 3.984 kB / 315.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009845, allocations: 0 / 315.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.01004, allocations: 229.6 kB / 315.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01004, allocations: 0 / 315.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.01019, allocations: 67.91 kB / 315.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.0102, allocations: 7.938 kB / 315.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01021, allocations: 4 kB / 315.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.01021, allocations: 4 kB / 315.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01021, allocations: 0 / 315.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.01039, allocations: 215 kB / 316.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.01042, allocations: 51.53 kB / 316.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01044, allocations: 8 kB / 316.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.01049, allocations: 15.98 kB / 316.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.01055, allocations: 31.95 kB / 316.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01056, allocations: 7.984 kB / 316.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.01063, allocations: 120.7 kB / 316.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01063, allocations: 0 / 316.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00016/0.01079, allocations: 83.73 kB / 316.4 MB, free: 15.33 MB / 298.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.0001024/0.01089, allocations: 100.3 kB / 316.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01106, allocations: 148.8 kB / 316.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01107, allocations: 8.062 kB / 316.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.01115, allocations: 109.1 kB / 316.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.01127, allocations: 21.5 kB / 316.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.0119, allocations: 0.7187 MB / 317.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.01197, allocations: 128.8 kB / 317.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.01205, allocations: 37.86 kB / 317.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.01214, allocations: 87.36 kB / 317.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01214, allocations: 0 / 317.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004433/0.01658, allocations: 2.43 MB / 320.2 MB, free: 11.52 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5629994398914278]