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.001909/0.001909, allocations: 79.75 kB / 19.76 MB, free: 2.02 MB / 14.72 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.002364/0.002364, allocations: 160.1 kB / 23.01 MB, free: 4.949 MB / 14.72 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 9.23 MB / 190.1 MB " [Timeout remaining time 178] 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.1847/0.1847, allocations: 21.8 MB / 281.6 MB, free: 10.92 MB / 270.1 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 67.89 kB / 418.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2992, allocations: 60.76 MB / 479.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003507/0.3028, allocations: 2.195 MB / 481.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3038, allocations: 442 kB / 482.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3039, allocations: 4.906 kB / 482.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.3041, allocations: 54.61 kB / 482.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.3042, allocations: 28.72 kB / 482.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.3047, allocations: 150.6 kB / 482.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.3051, allocations: 317.9 kB / 482.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3054, allocations: 147.1 kB / 482.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3057, allocations: 216.1 kB / 483 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3059, allocations: 156.2 kB / 483.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.3059, allocations: 33.47 kB / 483.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3061, allocations: 69.78 kB / 483.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3063, allocations: 134.7 kB / 483.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3064, allocations: 161.1 kB / 483.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.3069, allocations: 448.5 kB / 484 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.307, allocations: 0 / 484 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.307, allocations: 0 / 484 MB, free: 9.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.307, allocations: 1.094 kB / 484 MB, free: 9.641 MB / 382.1 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.001362/0.3083, allocations: 0.7233 MB / 484.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3084, allocations: 9.438 kB / 484.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3085, allocations: 67.2 kB / 484.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3088, allocations: 227.5 kB / 485 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3088, allocations: 32.06 kB / 485 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.3089, allocations: 45.69 kB / 485.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.3097, allocations: 470.6 kB / 485.5 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3097, allocations: 192 / 485.5 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3098, allocations: 20.19 kB / 485.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3098, allocations: 10.5 kB / 485.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.3105, allocations: 383.5 kB / 485.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3122, allocations: 0.9536 MB / 486.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3135, allocations: 484.7 kB / 487.3 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.3138, allocations: 169.6 kB / 487.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/0.3139, allocations: 36.97 kB / 487.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.3145, allocations: 272.5 kB / 487.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.774e-06/0.3145, allocations: 0 / 487.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001173/0.3156, allocations: 0.556 MB / 488.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.3157, allocations: 88.86 kB / 488.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.3161, allocations: 345.7 kB / 488.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3161, allocations: 29.7 kB / 488.8 MB, free: 5.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3163, allocations: 264.6 kB / 489.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.3164, allocations: 138.7 kB / 489.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3165, allocations: 65.69 kB / 489.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3167, allocations: 354.7 kB / 489.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.317, allocations: 147.8 kB / 489.8 MB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3174, allocations: 182.2 kB / 489.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.3203, allocations: 0.6572 MB / 490.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3203, allocations: 0 / 490.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007843/0.3211, allocations: 433.2 kB / 491 MB, free: 2.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3211, allocations: 11.94 kB / 491 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3211, allocations: 0 / 491 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3211, allocations: 4 kB / 491 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.3215, allocations: 67.91 kB / 491.1 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3215, allocations: 4 kB / 491.1 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3216, allocations: 35.77 kB / 491.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3217, allocations: 12 kB / 491.2 MB, free: 2.844 MB / 382.1 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.0003038/0.322, allocations: 190.7 kB / 491.3 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.322, allocations: 47.72 kB / 491.4 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/0.323, allocations: 466 kB / 491.8 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.323, allocations: 4 kB / 491.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.323, allocations: 0 / 491.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.323, allocations: 7.875 kB / 491.9 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.3234, allocations: 388.8 kB / 492.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3235, allocations: 4 kB / 492.2 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3238, allocations: 67.91 kB / 492.3 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3238, allocations: 4 kB / 492.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3238, allocations: 4 kB / 492.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3238, allocations: 4 kB / 492.3 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3238, allocations: 0 / 492.3 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.3246, allocations: 477 kB / 492.8 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3247, allocations: 39.7 kB / 492.8 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.3247, allocations: 11.98 kB / 492.8 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3249, allocations: 12 kB / 492.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.325, allocations: 31.94 kB / 492.9 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.325, allocations: 8 kB / 492.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002684/0.3252, allocations: 259.1 kB / 493.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3252, allocations: 0 / 493.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3256, allocations: 87.67 kB / 493.2 MB, free: 0.707 MB / 382.1 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.0001858/0.3258, allocations: 111.2 kB / 493.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.3265, allocations: 367.2 kB / 493.7 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3265, allocations: 0 / 493.7 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3269, allocations: 179.8 kB / 493.9 MB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3272, allocations: 31.61 kB / 493.9 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3286, allocations: 0.8301 MB / 494.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3288, allocations: 247.3 kB / 495 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.329, allocations: 29.94 kB / 495 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.329, allocations: 28.5 kB / 495 MB, free: 14.84 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.329, allocations: 4 kB / 495 MB, free: 14.84 MB / 398.1 MB Notification: Performance of Templates: time 0.006727/0.3358, allocations: 2.17 MB / 497.2 MB, free: 12.7 MB / 398.1 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7557308077812195] Failed to read output from testmodel.py, exit status != 0: 0.34467603894881904 0.35887560799999996 0.048803418 Calling exit ...