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.0008226/0.0008226, allocations: 83.69 kB / 20.01 MB, free: 4.5 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.0008456/0.0008456, allocations: 170 kB / 23.32 MB, free: 1.195 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.8804/0.8804, allocations: 177.1 MB / 203.6 MB, free: 5.688 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.1224/0.1224, allocations: 21.79 MB / 281.9 MB, free: 7.324 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.995e-06/2.995e-06, allocations: 0 / 419.2 MB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.205e-05, allocations: 2.281 kB / 419.2 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002563/0.002595, allocations: 2.187 MB / 421.4 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.003375, allocations: 442.5 kB / 421.8 MB, free: 6.188 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.003492, allocations: 4 kB / 421.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.00361, allocations: 51.39 kB / 421.8 MB, free: 6.133 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.003741, allocations: 31.67 kB / 421.9 MB, free: 6.102 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.004172, allocations: 151.6 kB / 422 MB, free: 5.953 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.004407, allocations: 324.6 kB / 422.3 MB, free: 5.633 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.004631, allocations: 147.2 kB / 422.5 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.004794, allocations: 207.5 kB / 422.7 MB, free: 5.285 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.004945, allocations: 127.5 kB / 422.8 MB, free: 5.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.004986, allocations: 32 kB / 422.8 MB, free: 5.129 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.005095, allocations: 75.89 kB / 422.9 MB, free: 5.055 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.005207, allocations: 123.6 kB / 423 MB, free: 4.934 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.005288, allocations: 123.5 kB / 423.2 MB, free: 4.812 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.005636, allocations: 454.2 kB / 423.6 MB, free: 4.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00564, allocations: 0 / 423.6 MB, free: 4.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005641, allocations: 0 / 423.6 MB, free: 4.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005646, allocations: 0 / 423.6 MB, free: 4.367 MB / 394.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.0008817/0.006528, allocations: 0.7174 MB / 424.3 MB, free: 3.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.006577, allocations: 8.031 kB / 424.3 MB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.006724, allocations: 68.52 kB / 424.4 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006902, allocations: 231.7 kB / 424.6 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.006935, allocations: 29.38 kB / 424.6 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.006976, allocations: 48.38 kB / 424.7 MB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.007513, allocations: 458.7 kB / 425.1 MB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.007528, allocations: 8.109 kB / 425.2 MB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.007555, allocations: 16.38 kB / 425.2 MB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.007567, allocations: 12.38 kB / 425.2 MB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.008005, allocations: 375.7 kB / 425.5 MB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.00904, allocations: 0.9575 MB / 426.5 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.009747, allocations: 487.1 kB / 427 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.009922, allocations: 165.6 kB / 427.1 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.009981, allocations: 40.95 kB / 427.2 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.01029, allocations: 268.4 kB / 427.4 MB, free: 384 kB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.693e-06/0.01029, allocations: 0 / 427.4 MB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006768/0.01097, allocations: 0.5629 MB / 428 MB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.01101, allocations: 85.11 kB / 428.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.01123, allocations: 345.7 kB / 428.4 MB, free: 15.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.01125, allocations: 29.7 kB / 428.5 MB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01136, allocations: 256.6 kB / 428.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.01143, allocations: 138.8 kB / 428.8 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.01149, allocations: 57.7 kB / 428.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01159, allocations: 362.7 kB / 429.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.01174, allocations: 139.9 kB / 429.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.01191, allocations: 186.2 kB / 429.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.0133, allocations: 0.6698 MB / 430.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.0133, allocations: 0 / 430.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004807/0.01378, allocations: 433.1 kB / 430.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0138, allocations: 4 kB / 430.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.0138, allocations: 0 / 430.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01382, allocations: 7.984 kB / 430.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.01399, allocations: 71.88 kB / 430.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.014, allocations: 4 kB / 430.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.01407, allocations: 35.81 kB / 430.8 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01409, allocations: 8 kB / 430.8 MB, free: 12.94 MB / 410.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.0001874/0.01427, allocations: 189.6 kB / 431 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.0143, allocations: 39.77 kB / 431 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.01481, allocations: 469 kB / 431.5 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01482, allocations: 4 kB / 431.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01482, allocations: 0 / 431.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01483, allocations: 3.984 kB / 431.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.01512, allocations: 388.8 kB / 431.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01513, allocations: 0 / 431.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.01526, allocations: 71.84 kB / 431.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01527, allocations: 4 kB / 431.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01528, allocations: 11.98 kB / 431.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.01529, allocations: 4 kB / 432 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01529, allocations: 3.938 kB / 432 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.01578, allocations: 469.3 kB / 432.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.01581, allocations: 35.7 kB / 432.4 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.01584, allocations: 15.98 kB / 432.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.01591, allocations: 11.98 kB / 432.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.01596, allocations: 31.95 kB / 432.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01598, allocations: 15.98 kB / 432.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.01612, allocations: 247.2 kB / 432.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01612, allocations: 0 / 432.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.01631, allocations: 91.67 kB / 432.9 MB, free: 10.81 MB / 410.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.0001369/0.01645, allocations: 115.2 kB / 433 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.01684, allocations: 351.2 kB / 433.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01685, allocations: 4.062 kB / 433.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.01703, allocations: 183.8 kB / 433.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.01722, allocations: 36.19 kB / 433.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.01819, allocations: 0.841 MB / 434.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.01834, allocations: 247.3 kB / 434.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.01841, allocations: 25.95 kB / 434.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.01846, allocations: 28.48 kB / 434.7 MB, free: 8.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.01846, allocations: 0 / 434.7 MB, free: 8.934 MB / 410.7 MB Notification: Performance of Templates: time 0.00413/0.02259, allocations: 2.174 MB / 436.8 MB, free: 6.781 MB / 410.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=480 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.1271851547062397] Failed to read output from testmodel.py, exit status != 0: 0.02804787177592516 0.23301765700000002 0.22530185100000003 Calling exit ...