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.001408/0.001408, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001611/0.001611, allocations: 221 kB / 23 MB, free: 4.918 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.2096/0.2096, allocations: 29.23 MB / 342.4 MB, free: 5.605 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.002223/0.002223, allocations: 71.88 kB / 479.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3925, allocations: 60.79 MB / 0.5277 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.00376/0.3963, allocations: 2.182 MB / 0.5298 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3974, allocations: 441.5 kB / 0.5302 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3975, allocations: 8.469 kB / 0.5302 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3976, allocations: 45.5 kB / 0.5303 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3978, allocations: 31.12 kB / 0.5303 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.3983, allocations: 150.8 kB / 0.5305 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.3987, allocations: 317.8 kB / 0.5308 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.399, allocations: 148.9 kB / 0.5309 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3992, allocations: 145.5 kB / 0.531 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3994, allocations: 157.4 kB / 0.5312 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.3994, allocations: 34.28 kB / 0.5312 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3996, allocations: 67.31 kB / 0.5313 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3998, allocations: 130.2 kB / 0.5314 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3999, allocations: 161.4 kB / 0.5316 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.4005, allocations: 443.8 kB / 0.532 GB, free: 5.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4005, allocations: 1.219 kB / 0.532 GB, free: 5.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4005, allocations: 4 kB / 0.532 GB, free: 5.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4005, allocations: 0 / 0.532 GB, free: 5.395 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.001239/0.4017, allocations: 0.7224 MB / 0.5327 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4018, allocations: 10.42 kB / 0.5327 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.402, allocations: 72.06 kB / 0.5328 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.4022, allocations: 226.2 kB / 0.533 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4022, allocations: 36.12 kB / 0.533 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.4023, allocations: 41.27 kB / 0.5331 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007919/0.4031, allocations: 460.3 kB / 0.5335 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4031, allocations: 4.125 kB / 0.5335 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.4031, allocations: 24.78 kB / 0.5335 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.4031, allocations: 11.19 kB / 0.5335 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.4039, allocations: 374.7 kB / 0.5339 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.4054, allocations: 0.9615 MB / 0.5348 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4066, allocations: 490.8 kB / 0.5353 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.4069, allocations: 163.4 kB / 0.5355 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-05/0.407, allocations: 36.08 kB / 0.5355 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00058/0.4076, allocations: 271.1 kB / 0.5358 GB, free: 3.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.245e-06/0.4076, allocations: 0 / 0.5358 GB, free: 3.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001163/0.4087, allocations: 0.5586 MB / 0.5363 GB, free: 3.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4088, allocations: 87.47 kB / 0.5364 GB, free: 3.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.4091, allocations: 344.7 kB / 0.5367 GB, free: 2.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.4091, allocations: 36.45 kB / 0.5368 GB, free: 2.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4093, allocations: 261.4 kB / 0.537 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.4094, allocations: 145.9 kB / 0.5371 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.4095, allocations: 57.08 kB / 0.5372 GB, free: 2.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.4095, allocations: 353.7 kB / 0.5375 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4098, allocations: 145.1 kB / 0.5377 GB, free: 2.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.4101, allocations: 185.8 kB / 0.5378 GB, free: 1.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.4126, allocations: 0.6698 MB / 0.5385 GB, free: 1.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4126, allocations: 1.375 kB / 0.5385 GB, free: 1.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006841/0.4132, allocations: 429.6 kB / 0.5389 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4133, allocations: 5.594 kB / 0.5389 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4133, allocations: 1.125 kB / 0.5389 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4133, allocations: 2.219 kB / 0.5389 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.4136, allocations: 73.89 kB / 0.539 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4136, allocations: 6.625 kB / 0.539 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4137, allocations: 31.77 kB / 0.539 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4138, allocations: 11.41 kB / 0.539 GB, free: 1.379 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.000239/0.414, allocations: 179.2 kB / 0.5392 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.414, allocations: 41.19 kB / 0.5392 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.4148, allocations: 477.2 kB / 0.5397 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4148, allocations: 5.281 kB / 0.5397 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4148, allocations: 0 / 0.5397 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4149, allocations: 9.141 kB / 0.5397 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.4153, allocations: 381.8 kB / 0.5401 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4153, allocations: 0 / 0.5401 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.4155, allocations: 63.19 kB / 0.5401 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4155, allocations: 2.5 kB / 0.5401 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.4156, allocations: 14.55 kB / 0.5402 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4156, allocations: 2.531 kB / 0.5402 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4156, allocations: 4 kB / 0.5402 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.4163, allocations: 472.5 kB / 0.5406 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.4163, allocations: 34.95 kB / 0.5406 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.4164, allocations: 16.53 kB / 0.5407 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4165, allocations: 13.86 kB / 0.5407 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.4166, allocations: 25.92 kB / 0.5407 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.4166, allocations: 15.48 kB / 0.5407 GB, free: 356 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.4168, allocations: 254.3 kB / 0.541 GB, free: 188 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 0 / 0.541 GB, free: 188 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.4172, allocations: 93.61 kB / 0.541 GB, free: 152 kB / 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.0001617/0.4174, allocations: 110.2 kB / 0.5412 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007606/0.4181, allocations: 354.2 kB / 0.5415 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4181, allocations: 0 / 0.5415 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.4185, allocations: 189.2 kB / 0.5417 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.4187, allocations: 23.41 kB / 0.5417 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4204, allocations: 0.8685 MB / 0.5425 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4207, allocations: 255.7 kB / 0.5428 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4208, allocations: 29.3 kB / 0.5428 GB, free: 15.09 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4208, allocations: 1.094 kB / 0.5428 GB, free: 15.09 MB / 398.1 MB Notification: Performance of Templates: time 0.00825/0.429, allocations: 4.231 MB / 0.5469 GB, free: 12.86 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: 7.5735347690060735] Failed to read output from testmodel.py, exit status != 0: 0.439416796900332 0.453596412 0.049905415 Calling exit ...