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.001436/0.001436, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001617/0.001617, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 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.1788/0.1788, allocations: 29.23 MB / 342.4 MB, free: 5.836 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.001901/0.001901, allocations: 71.89 kB / 479.6 MB, free: 100 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 60.79 MB / 0.5277 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003113/0.2843, allocations: 2.402 MB / 0.5301 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.2851, allocations: 457.3 kB / 0.5305 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2853, allocations: 8.125 kB / 0.5305 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2854, allocations: 46.55 kB / 0.5306 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2856, allocations: 33.44 kB / 0.5306 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.286, allocations: 154.2 kB / 0.5308 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.2863, allocations: 315.3 kB / 0.5311 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.2865, allocations: 156.6 kB / 0.5312 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2866, allocations: 144.8 kB / 0.5314 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2868, allocations: 178 kB / 0.5315 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.2869, allocations: 34.03 kB / 0.5316 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.287, allocations: 71.09 kB / 0.5316 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2872, allocations: 127.5 kB / 0.5317 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2873, allocations: 217.4 kB / 0.5319 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.2877, allocations: 433.8 kB / 0.5324 GB, free: 5.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2877, allocations: 0 / 0.5324 GB, free: 5.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2877, allocations: 0 / 0.5324 GB, free: 5.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2877, allocations: 1.531 kB / 0.5324 GB, free: 5.211 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.001024/0.2887, allocations: 0.729 MB / 0.5331 GB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2888, allocations: 9.281 kB / 0.5331 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.2889, allocations: 68.8 kB / 0.5332 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2891, allocations: 221.7 kB / 0.5334 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.2891, allocations: 36.88 kB / 0.5334 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2891, allocations: 44.94 kB / 0.5334 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.2898, allocations: 460.5 kB / 0.5339 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2898, allocations: 192 / 0.5339 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2898, allocations: 23.84 kB / 0.5339 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2899, allocations: 11.06 kB / 0.5339 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.2905, allocations: 377.6 kB / 0.5343 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2918, allocations: 1.097 MB / 0.5353 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2928, allocations: 0.4896 MB / 0.5358 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.293, allocations: 163.8 kB / 0.536 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.2931, allocations: 35.88 kB / 0.536 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.2935, allocations: 265.1 kB / 0.5363 GB, free: 3.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.483e-06/0.2935, allocations: 1.188 kB / 0.5363 GB, free: 3.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009088/0.2944, allocations: 0.5587 MB / 0.5368 GB, free: 2.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2945, allocations: 93.52 kB / 0.5369 GB, free: 2.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2947, allocations: 356.8 kB / 0.5372 GB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2948, allocations: 37.83 kB / 0.5373 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.2949, allocations: 260.1 kB / 0.5375 GB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.2949, allocations: 137.9 kB / 0.5377 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.295, allocations: 63.7 kB / 0.5377 GB, free: 2.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.295, allocations: 349.8 kB / 0.5381 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2953, allocations: 145.3 kB / 0.5382 GB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2955, allocations: 182.2 kB / 0.5384 GB, free: 1.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.2978, allocations: 0.673 MB / 0.539 GB, free: 1.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2978, allocations: 4 kB / 0.539 GB, free: 1.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005824/0.2984, allocations: 434.7 kB / 0.5394 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2984, allocations: 9.188 kB / 0.5394 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2985, allocations: 1.438 kB / 0.5394 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2985, allocations: 1.562 kB / 0.5395 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.2987, allocations: 74.27 kB / 0.5395 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2988, allocations: 6.25 kB / 0.5395 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2989, allocations: 28.5 kB / 0.5396 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2989, allocations: 12.19 kB / 0.5396 GB, free: 1.113 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.0001799/0.2991, allocations: 181.3 kB / 0.5397 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2991, allocations: 38.95 kB / 0.5398 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.2998, allocations: 471.9 kB / 0.5402 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2998, allocations: 4.594 kB / 0.5402 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2998, allocations: 5 kB / 0.5402 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.2998, allocations: 3.984 kB / 0.5402 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.3002, allocations: 475 kB / 0.5407 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3002, allocations: 1.312 kB / 0.5407 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.3005, allocations: 62.81 kB / 0.5408 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3005, allocations: 1.406 kB / 0.5408 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3005, allocations: 16.08 kB / 0.5408 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3005, allocations: 5.266 kB / 0.5408 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3005, allocations: 9.312 kB / 0.5408 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.3011, allocations: 466.2 kB / 0.5412 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3011, allocations: 38.59 kB / 0.5413 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3012, allocations: 11.97 kB / 0.5413 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3013, allocations: 18.33 kB / 0.5413 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3014, allocations: 29.39 kB / 0.5413 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.3014, allocations: 15.59 kB / 0.5413 GB, free: 15.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.3016, allocations: 248.8 kB / 0.5416 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3016, allocations: 0 / 0.5416 GB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3019, allocations: 92.89 kB / 0.5417 GB, free: 15.8 MB / 398.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.0001579/0.3021, allocations: 118.3 kB / 0.5418 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.3027, allocations: 361.9 kB / 0.5421 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3027, allocations: 1.375 kB / 0.5421 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.303, allocations: 187.9 kB / 0.5423 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3033, allocations: 29.78 kB / 0.5423 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3046, allocations: 0.8754 MB / 0.5432 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.305, allocations: 0.8494 MB / 0.544 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.3051, allocations: 34.95 kB / 0.544 GB, free: 14.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3051, allocations: 0 / 0.544 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Templates: time 0.006695/0.3118, allocations: 4.072 MB / 0.548 GB, free: 11.97 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.576996446121484] Failed to read output from testmodel.py, exit status != 0: 0.3200058760121465 0.33360089600000004 0.043042562 Calling exit ...