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.0008725/0.0008725, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009534/0.0009534, allocations: 177 kB / 23.36 MB, free: 1.129 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.8723/0.8723, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.1126/0.1126, allocations: 21.81 MB / 282.1 MB, free: 7.059 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 1.583e-06/1.583e-06, allocations: 4.828 kB / 305.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.168e-05, allocations: 4.25 kB / 306 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002171/0.002183, allocations: 2.233 MB / 308.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.002905, allocations: 466 kB / 308.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.002991, allocations: 4 kB / 308.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.713e-05/0.003088, allocations: 47.41 kB / 308.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003193, allocations: 31.61 kB / 308.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.003546, allocations: 155.6 kB / 308.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.003868, allocations: 324.6 kB / 309.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.004039, allocations: 153.1 kB / 309.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004168, allocations: 207.5 kB / 309.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004285, allocations: 123.5 kB / 309.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.004324, allocations: 32 kB / 309.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.004419, allocations: 71.91 kB / 309.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.004512, allocations: 132.2 kB / 309.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.004581, allocations: 123.5 kB / 310 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.00483, allocations: 342.5 kB / 310.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.004831, allocations: 0 / 310.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004832, allocations: 0 / 310.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004836, allocations: 0 / 310.3 MB, free: 5.699 MB / 282.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.0006339/0.00547, allocations: 0.697 MB / 311 MB, free: 4.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.005499, allocations: 16.02 kB / 311.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.005613, allocations: 76.88 kB / 311.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005732, allocations: 223.8 kB / 311.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.005761, allocations: 37.38 kB / 311.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.005793, allocations: 40.38 kB / 311.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.00608, allocations: 334.1 kB / 311.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006091, allocations: 192 / 311.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.00611, allocations: 16.38 kB / 311.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.00612, allocations: 12.38 kB / 311.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.006244, allocations: 129.6 kB / 311.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.007166, allocations: 0.6992 MB / 312.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.007504, allocations: 268.7 kB / 312.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.007562, allocations: 57.7 kB / 312.9 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.007608, allocations: 44.72 kB / 313 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.007747, allocations: 167.7 kB / 313.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.202e-06/0.007748, allocations: 0 / 313.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=41): time 0.0002287/0.007977, allocations: 209.7 kB / 313.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.008012, allocations: 85.11 kB / 313.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.008153, allocations: 287.4 kB / 313.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.008175, allocations: 37.7 kB / 313.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.008255, allocations: 217.5 kB / 314 MB, free: 1.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.008325, allocations: 138.8 kB / 314.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.008378, allocations: 57.67 kB / 314.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.008456, allocations: 350.7 kB / 314.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.008499, allocations: 42.8 kB / 314.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.008557, allocations: 82.03 kB / 314.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.008729, allocations: 199.8 kB / 314.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.008733, allocations: 3.938 kB / 314.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001577/0.00889, allocations: 180.2 kB / 315 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.008902, allocations: 8 kB / 315 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.008905, allocations: 0 / 315 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008916, allocations: 8.031 kB / 315 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.009066, allocations: 63.91 kB / 315.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.00907, allocations: 4 kB / 315.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.009126, allocations: 27.81 kB / 315.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.009135, allocations: 8 kB / 315.1 MB, free: 0.7188 MB / 282.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.0001214/0.009256, allocations: 150.4 kB / 315.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.009287, allocations: 31.97 kB / 315.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.009494, allocations: 213.4 kB / 315.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.009497, allocations: 4 kB / 315.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009499, allocations: 0 / 315.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009503, allocations: 0 / 315.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.009684, allocations: 229.6 kB / 315.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.009686, allocations: 7.938 kB / 315.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.00981, allocations: 59.91 kB / 315.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.009825, allocations: 4.422 kB / 315.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.009838, allocations: 15.98 kB / 315.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.009841, allocations: 3.984 kB / 315.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009842, allocations: 8 kB / 315.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.01001, allocations: 207.3 kB / 316 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.01004, allocations: 47.58 kB / 316.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.01007, allocations: 15.94 kB / 316.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.01011, allocations: 8 kB / 316.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.01016, allocations: 27.94 kB / 316.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01017, allocations: 12 kB / 316.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.01024, allocations: 112.7 kB / 316.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 316.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.01041, allocations: 95.67 kB / 316.3 MB, free: 15.42 MB / 298.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.0001057/0.01051, allocations: 100.3 kB / 316.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01068, allocations: 144.8 kB / 316.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01069, allocations: 4 kB / 316.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.01077, allocations: 97.11 kB / 316.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.01089, allocations: 29.48 kB / 316.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.01155, allocations: 0.7265 MB / 317.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.01161, allocations: 128.8 kB / 317.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.059e-05/0.01169, allocations: 25.95 kB / 317.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.01176, allocations: 83.36 kB / 317.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01176, allocations: 4 kB / 317.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Templates: time 0.004534/0.0163, allocations: 2.437 MB / 320.1 MB, free: 11.62 MB / 298.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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5673113600350916]