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.001615/0.001615, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001901/0.001901, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.785 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.1938/0.1938, allocations: 29.24 MB / 341.7 MB, free: 5.574 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.002128/0.002128, allocations: 67.89 kB / 478.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3847, allocations: 60.79 MB / 0.5269 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003867/0.3886, allocations: 2.178 MB / 0.5291 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3896, allocations: 443.5 kB / 0.5295 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.3897, allocations: 3.656 kB / 0.5295 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3898, allocations: 49.95 kB / 0.5295 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.39, allocations: 33.83 kB / 0.5296 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.3905, allocations: 147.9 kB / 0.5297 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.3908, allocations: 317.3 kB / 0.53 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.391, allocations: 153 kB / 0.5302 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3912, allocations: 140.4 kB / 0.5303 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3913, allocations: 154.7 kB / 0.5304 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.3914, allocations: 33.81 kB / 0.5305 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3916, allocations: 70.78 kB / 0.5305 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3917, allocations: 131.7 kB / 0.5307 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3918, allocations: 161 kB / 0.5308 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3923, allocations: 448.6 kB / 0.5313 GB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3923, allocations: 7.938 kB / 0.5313 GB, free: 5.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3923, allocations: 0 / 0.5313 GB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3923, allocations: 0 / 0.5313 GB, free: 5.359 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.001086/0.3934, allocations: 0.7184 MB / 0.532 GB, free: 4.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3934, allocations: 13.41 kB / 0.532 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3936, allocations: 69.52 kB / 0.532 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3938, allocations: 225.7 kB / 0.5323 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.3938, allocations: 36.84 kB / 0.5323 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.3939, allocations: 44.44 kB / 0.5323 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.3946, allocations: 460.9 kB / 0.5328 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.3946, allocations: 1.375 kB / 0.5328 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3947, allocations: 19.66 kB / 0.5328 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3947, allocations: 14.83 kB / 0.5328 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.3953, allocations: 379.6 kB / 0.5332 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3967, allocations: 0.9538 MB / 0.5341 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3978, allocations: 479.2 kB / 0.5346 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.3981, allocations: 171.3 kB / 0.5347 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.478e-05/0.3982, allocations: 36.12 kB / 0.5348 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.3987, allocations: 271.4 kB / 0.535 GB, free: 3.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.3987, allocations: 0 / 0.535 GB, free: 3.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001053/0.3998, allocations: 0.5592 MB / 0.5356 GB, free: 3.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3998, allocations: 86.97 kB / 0.5356 GB, free: 3.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.4001, allocations: 346.4 kB / 0.536 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4002, allocations: 33.83 kB / 0.536 GB, free: 2.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4003, allocations: 256.1 kB / 0.5362 GB, free: 2.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.4003, allocations: 143.1 kB / 0.5364 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.4004, allocations: 63.47 kB / 0.5364 GB, free: 2.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.4005, allocations: 353.9 kB / 0.5368 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4008, allocations: 149.2 kB / 0.5369 GB, free: 2.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.401, allocations: 190.7 kB / 0.5371 GB, free: 1.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.4034, allocations: 0.658 MB / 0.5377 GB, free: 1.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4034, allocations: 0 / 0.5377 GB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006868/0.4041, allocations: 429.8 kB / 0.5382 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4041, allocations: 6.5 kB / 0.5382 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4041, allocations: 0 / 0.5382 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4041, allocations: 6.219 kB / 0.5382 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.4044, allocations: 66.78 kB / 0.5382 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4044, allocations: 5.531 kB / 0.5382 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4046, allocations: 36.23 kB / 0.5383 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4046, allocations: 12.03 kB / 0.5383 GB, free: 1.371 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.0002416/0.4048, allocations: 194.9 kB / 0.5385 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.4049, allocations: 41.66 kB / 0.5385 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.4057, allocations: 477.6 kB / 0.539 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4057, allocations: 4.062 kB / 0.539 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4057, allocations: 1.406 kB / 0.539 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4057, allocations: 3.938 kB / 0.539 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.4061, allocations: 378 kB / 0.5393 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4061, allocations: 1.125 kB / 0.5393 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.4064, allocations: 70.17 kB / 0.5394 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4064, allocations: 2.375 kB / 0.5394 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4064, allocations: 7.438 kB / 0.5394 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4064, allocations: 5.219 kB / 0.5394 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4064, allocations: 1.281 kB / 0.5394 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.4071, allocations: 476.5 kB / 0.5399 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4071, allocations: 34.8 kB / 0.5399 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4072, allocations: 7.656 kB / 0.5399 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4073, allocations: 18.39 kB / 0.5399 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.4074, allocations: 30.59 kB / 0.54 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.4074, allocations: 11.41 kB / 0.54 GB, free: 340 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.4076, allocations: 253.5 kB / 0.5402 GB, free: 172 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4076, allocations: 0 / 0.5402 GB, free: 172 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.408, allocations: 94.5 kB / 0.5403 GB, free: 136 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.0001644/0.4082, allocations: 112.7 kB / 0.5404 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.4089, allocations: 359 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4089, allocations: 1.281 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.4093, allocations: 187.5 kB / 0.5409 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4096, allocations: 30.98 kB / 0.541 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4112, allocations: 0.8246 MB / 0.5418 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4116, allocations: 251.7 kB / 0.542 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.4117, allocations: 29.19 kB / 0.542 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.4118, allocations: 29.22 kB / 0.5421 GB, free: 15.1 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4118, allocations: 0 / 0.5421 GB, free: 15.1 MB / 398.1 MB Notification: Performance of Templates: time 0.00829/0.4201, allocations: 2.59 MB / 0.5446 GB, free: 13.79 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 sys.exit(0), Time elapsed: 4.94971426576376] Failed to read output from testmodel.py, exit status != 0: 0.42963699623942375 0.442190181 0.046999754000000005 Calling exit ...