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.001068/0.001068, allocations: 93.06 kB / 19.65 MB, free: 280 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.001162/0.001162, allocations: 173.3 kB / 23.02 MB, free: 1.543 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.1355/0.1355, allocations: 21.8 MB / 281.7 MB, free: 7.203 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.504e-06/2.504e-06, allocations: 0 / 358.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.45e-05, allocations: 6.25 kB / 358.8 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002445/0.002469, allocations: 2.266 MB / 361 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.003322, allocations: 442.6 kB / 361.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.003459, allocations: 4 kB / 361.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003594, allocations: 51.45 kB / 361.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003721, allocations: 31.62 kB / 361.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.004191, allocations: 151.6 kB / 361.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.004463, allocations: 324.6 kB / 362 MB, free: 1.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.004676, allocations: 155.1 kB / 362.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004823, allocations: 203.5 kB / 362.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.004959, allocations: 123.5 kB / 362.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.004998, allocations: 32 kB / 362.5 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.005124, allocations: 71.95 kB / 362.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.005246, allocations: 135.5 kB / 362.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.005325, allocations: 115.6 kB / 362.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.005657, allocations: 342.4 kB / 363.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005659, allocations: 0 / 363.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00566, allocations: 0 / 363.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005665, allocations: 0 / 363.2 MB, free: 0.6602 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.0009383/0.006604, allocations: 0.8212 MB / 364 MB, free: 15.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.006645, allocations: 12.03 kB / 364 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.006818, allocations: 104.5 kB / 364.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.006973, allocations: 226.6 kB / 364.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.007009, allocations: 29.38 kB / 364.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.007046, allocations: 48.38 kB / 364.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.007491, allocations: 361 kB / 364.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.007504, allocations: 4.188 kB / 364.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.007531, allocations: 16.38 kB / 364.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.007545, allocations: 12.38 kB / 364.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.007787, allocations: 169.8 kB / 364.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.008921, allocations: 0.9829 MB / 365.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.009513, allocations: 269.4 kB / 366.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.009626, allocations: 91.33 kB / 366.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.009698, allocations: 36.98 kB / 366.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.009941, allocations: 184 kB / 366.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.009942, allocations: 0 / 366.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005054/0.01045, allocations: 321.9 kB / 366.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.0105, allocations: 85.11 kB / 366.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.01075, allocations: 374.7 kB / 367.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.01078, allocations: 37.7 kB / 367.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01093, allocations: 303.4 kB / 367.6 MB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.01103, allocations: 146.7 kB / 367.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.0111, allocations: 63.36 kB / 367.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01127, allocations: 0.5274 MB / 368.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.01136, allocations: 55.95 kB / 368.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01146, allocations: 102.7 kB / 368.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.01177, allocations: 229.7 kB / 368.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.01178, allocations: 4 kB / 368.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003203/0.0121, allocations: 273.1 kB / 369 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01212, allocations: 4 kB / 369 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01213, allocations: 0 / 369 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.01215, allocations: 4 kB / 369 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01233, allocations: 71.84 kB / 369 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01234, allocations: 4 kB / 369 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.01241, allocations: 23.84 kB / 369.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01242, allocations: 12 kB / 369.1 MB, free: 10.45 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.0001862/0.01261, allocations: 189.3 kB / 369.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.01266, allocations: 51.7 kB / 369.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.01304, allocations: 281.3 kB / 369.6 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.01305, allocations: 4 kB / 369.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01305, allocations: 0 / 369.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.01306, allocations: 3.984 kB / 369.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.01338, allocations: 344.2 kB / 369.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.01338, allocations: 0 / 369.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.01353, allocations: 63.91 kB / 370 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01353, allocations: 4 kB / 370 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.01355, allocations: 12 kB / 370 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01356, allocations: 0 / 370 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01356, allocations: 0 / 370 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.01387, allocations: 327 kB / 370.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.01391, allocations: 35.7 kB / 370.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.01395, allocations: 12 kB / 370.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.01401, allocations: 15.98 kB / 370.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.01407, allocations: 27.95 kB / 370.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.01408, allocations: 12 kB / 370.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.01422, allocations: 251.1 kB / 370.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01423, allocations: 0 / 370.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.01444, allocations: 95.62 kB / 370.8 MB, free: 8.672 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.0001689/0.01461, allocations: 115.3 kB / 370.9 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.01491, allocations: 187.2 kB / 371.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01491, allocations: 0 / 371.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01504, allocations: 128.2 kB / 371.2 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01528, allocations: 37.48 kB / 371.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.01613, allocations: 0.7362 MB / 372 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.01621, allocations: 128.8 kB / 372.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.01628, allocations: 29.95 kB / 372.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.01634, allocations: 32.48 kB / 372.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01634, allocations: 0 / 372.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of Templates: time 0.005183/0.02153, allocations: 2.32 MB / 374.5 MB, free: 4.934 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.964939969126135]