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.001592/0.001592, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001772/0.001772, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.439/1.439, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.187/0.187, allocations: 21.8 MB / 281 MB, free: 10.85 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 418.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.054e-05, allocations: 2.281 kB / 418.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003873/0.003904, allocations: 2.188 MB / 420.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.00494, allocations: 446.6 kB / 420.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.005054, allocations: 4 kB / 420.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.005187, allocations: 47.45 kB / 420.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.00533, allocations: 27.62 kB / 420.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.00582, allocations: 159.5 kB / 421.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.006186, allocations: 320.6 kB / 421.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.006516, allocations: 147.2 kB / 421.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.006748, allocations: 203.5 kB / 421.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.006933, allocations: 123.5 kB / 421.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.007, allocations: 36 kB / 421.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.007244, allocations: 67.95 kB / 421.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.007396, allocations: 131.5 kB / 422.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.007546, allocations: 123.5 kB / 422.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.008264, allocations: 442.2 kB / 422.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.008268, allocations: 3.938 kB / 422.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.008269, allocations: 4 kB / 422.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.008276, allocations: 0 / 422.6 MB, free: 9.062 MB / 350.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.001526/0.009803, allocations: 0.7173 MB / 423.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.009839, allocations: 8.031 kB / 423.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.01005, allocations: 76.5 kB / 423.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.01031, allocations: 227.7 kB / 423.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.01036, allocations: 33.38 kB / 423.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.01042, allocations: 44.38 kB / 423.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.01126, allocations: 462.7 kB / 424.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01127, allocations: 192 / 424.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.01131, allocations: 20.31 kB / 424.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01132, allocations: 12.38 kB / 424.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.01214, allocations: 379.7 kB / 424.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.01372, allocations: 0.9537 MB / 425.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.01499, allocations: 488.6 kB / 426 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.01534, allocations: 165.4 kB / 426.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.01542, allocations: 44.97 kB / 426.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/0.01605, allocations: 264.7 kB / 426.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/0.01605, allocations: 0 / 426.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.001206/0.01726, allocations: 0.5592 MB / 427 MB, free: 4.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.01733, allocations: 85.11 kB / 427.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.01773, allocations: 345.7 kB / 427.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.01777, allocations: 33.7 kB / 427.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.01799, allocations: 256.6 kB / 427.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.01813, allocations: 138.8 kB / 427.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.01825, allocations: 57.7 kB / 427.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.01845, allocations: 358.7 kB / 428.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.01876, allocations: 143.9 kB / 428.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.01909, allocations: 186.2 kB / 428.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.02199, allocations: 0.6698 MB / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02199, allocations: 0 / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007868/0.02278, allocations: 429.1 kB / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.02281, allocations: 11.98 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.02282, allocations: 3.938 kB / 429.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.02283, allocations: 4 kB / 429.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.02317, allocations: 63.91 kB / 429.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.02318, allocations: 4 kB / 429.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.02335, allocations: 35.77 kB / 429.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.02337, allocations: 12.03 kB / 429.8 MB, free: 1.629 MB / 350.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.000287/0.02366, allocations: 189.8 kB / 430 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.02372, allocations: 43.7 kB / 430 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.02463, allocations: 464.8 kB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.02464, allocations: 4 kB / 430.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.02465, allocations: 8 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.02465, allocations: 3.984 kB / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.02513, allocations: 384.8 kB / 430.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02513, allocations: 0 / 430.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.02543, allocations: 71.91 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.02544, allocations: 3.984 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.02546, allocations: 8 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.02547, allocations: 4 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02547, allocations: 0 / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.02629, allocations: 473.1 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.02635, allocations: 39.66 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.0264, allocations: 12 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.02655, allocations: 11.98 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.02662, allocations: 23.95 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.02665, allocations: 19.98 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.02691, allocations: 243.2 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02691, allocations: 0 / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.02725, allocations: 99.67 kB / 431.9 MB, free: 15.5 MB / 366.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.0002196/0.02747, allocations: 115.2 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007228/0.02819, allocations: 351.4 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0282, allocations: 0 / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.02855, allocations: 183.5 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.02881, allocations: 31.84 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.03028, allocations: 0.8486 MB / 433.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.03053, allocations: 247.3 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.03064, allocations: 29.95 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.03073, allocations: 28.48 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.03074, allocations: 0 / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Templates: time 0.006971/0.03771, allocations: 2.188 MB / 435.9 MB, free: 11.46 MB / 366.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 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.590790465474129] Failed to read output from testmodel.py, exit status != 0: 0.048303406685590744 0.23044201700000003 0.219177469 Calling exit ...