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.000741/0.000741, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007134/0.0007134, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8119/0.8119, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.1078/0.1078, allocations: 21.79 MB / 281.7 MB, free: 7.414 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.073e-06/2.073e-06, allocations: 0 / 419 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.492e-05, allocations: 2.281 kB / 419 MB, free: 8.957 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.00222/0.002245, allocations: 2.183 MB / 421.1 MB, free: 6.762 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000764/0.003009, allocations: 438.6 kB / 421.6 MB, free: 6.332 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.003131, allocations: 8 kB / 421.6 MB, free: 6.324 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.003242, allocations: 43.45 kB / 421.6 MB, free: 6.281 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003359, allocations: 31.62 kB / 421.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.003776, allocations: 163.5 kB / 421.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.004012, allocations: 316.7 kB / 422.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.004208, allocations: 151.2 kB / 422.3 MB, free: 5.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.004347, allocations: 207.5 kB / 422.5 MB, free: 5.426 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.004474, allocations: 119.5 kB / 422.6 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.00451, allocations: 36 kB / 422.6 MB, free: 5.273 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.00462, allocations: 67.95 kB / 422.7 MB, free: 5.207 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.004719, allocations: 135.5 kB / 422.8 MB, free: 5.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.004791, allocations: 119.5 kB / 422.9 MB, free: 4.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.005134, allocations: 446.2 kB / 423.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005137, allocations: 0 / 423.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005138, allocations: 0 / 423.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.005143, allocations: 0 / 423.4 MB, free: 4.52 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.0007726/0.005916, allocations: 0.7196 MB / 424.1 MB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.005949, allocations: 12.03 kB / 424.1 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.006061, allocations: 68.45 kB / 424.2 MB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.006196, allocations: 231.7 kB / 424.4 MB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.006226, allocations: 37.38 kB / 424.4 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.006258, allocations: 40.38 kB / 424.5 MB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.006951, allocations: 462.6 kB / 424.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.006963, allocations: 192 / 424.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.006987, allocations: 28.36 kB / 425 MB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006996, allocations: 12.38 kB / 425 MB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.00738, allocations: 371.7 kB / 425.3 MB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.008322, allocations: 0.9614 MB / 426.3 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.008976, allocations: 483.1 kB / 426.8 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.009139, allocations: 165.6 kB / 426.9 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.009192, allocations: 36.97 kB / 427 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.009518, allocations: 268.5 kB / 427.2 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.923e-06/0.00952, allocations: 0 / 427.2 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006458/0.01017, allocations: 0.5629 MB / 427.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.01021, allocations: 81.11 kB / 427.9 MB, free: 15.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.01043, allocations: 345.7 kB / 428.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01045, allocations: 37.7 kB / 428.2 MB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01056, allocations: 252.6 kB / 428.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.01063, allocations: 138.8 kB / 428.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.01069, allocations: 57.7 kB / 428.7 MB, free: 15.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.01079, allocations: 358.7 kB / 429 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.01094, allocations: 147.9 kB / 429.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.0111, allocations: 186.2 kB / 429.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.01237, allocations: 0.6701 MB / 430 MB, free: 13.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01237, allocations: 0 / 430 MB, free: 13.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004034/0.01278, allocations: 433.1 kB / 430.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01279, allocations: 8 kB / 430.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0128, allocations: 0 / 430.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01281, allocations: 11.95 kB / 430.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01297, allocations: 71.91 kB / 430.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01297, allocations: 3.938 kB / 430.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.01304, allocations: 31.81 kB / 430.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01305, allocations: 12 kB / 430.6 MB, free: 13.07 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.0001814/0.01323, allocations: 196.5 kB / 430.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01327, allocations: 35.77 kB / 430.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.01377, allocations: 465 kB / 431.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01377, allocations: 4 kB / 431.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01378, allocations: 0 / 431.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.01379, allocations: 7.984 kB / 431.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.01406, allocations: 392.8 kB / 431.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01406, allocations: 0 / 431.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.01446, allocations: 67.91 kB / 431.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01446, allocations: 4 kB / 431.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01448, allocations: 11.98 kB / 431.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01448, allocations: 0 / 431.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01448, allocations: 4 kB / 431.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.01489, allocations: 465 kB / 432.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.01492, allocations: 39.64 kB / 432.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.01495, allocations: 12 kB / 432.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.01501, allocations: 19.98 kB / 432.3 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.01507, allocations: 23.95 kB / 432.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.01508, allocations: 15.98 kB / 432.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01523, allocations: 247.2 kB / 432.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01523, allocations: 0 / 432.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01543, allocations: 95.67 kB / 432.6 MB, free: 10.95 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.0001535/0.01559, allocations: 115.2 kB / 432.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.01597, allocations: 351.2 kB / 433.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01598, allocations: 3.938 kB / 433.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01616, allocations: 191.8 kB / 433.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01635, allocations: 25.44 kB / 433.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.01722, allocations: 0.8701 MB / 434.2 MB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.01738, allocations: 247.3 kB / 434.4 MB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.01744, allocations: 40.42 kB / 434.5 MB, free: 9.051 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01744, allocations: 0 / 434.5 MB, free: 9.051 MB / 410.7 MB Notification: Performance of Templates: time 0.004327/0.02177, allocations: 4.222 MB / 438.7 MB, free: 4.82 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.281885057687759] Failed to read output from testmodel.py, exit status != 0: 0.02752799727022648 0.17001275000000002 0.16344102400000002 Calling exit ...