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.0006472/0.0006472, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001556, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006891/0.0006891, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008894/0.001579, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8701/0.8701, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07411/0.9442, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1093/0.1093, allocations: 21.8 MB / 265.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01059/0.1199, allocations: 7.854 MB / 273.6 MB, free: 1.109 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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.714e-06/1.714e-06, allocations: 0 / 274.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.837e-06/1.055e-05, allocations: 2.312 kB / 274.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002068/0.002079, allocations: 2.279 MB / 277.2 MB, free: 492 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.002668, allocations: 480.8 kB / 277.6 MB, free: 172 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.002768, allocations: 4.594 kB / 277.6 MB, free: 172 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.002858, allocations: 48.64 kB / 277.7 MB, free: 136 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.00294, allocations: 31.17 kB / 277.7 MB, free: 112 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.003219, allocations: 147.8 kB / 277.9 MB, free: 32 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.003466, allocations: 305.4 kB / 278.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.003664, allocations: 156.6 kB / 278.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.003878, allocations: 241.8 kB / 278.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.004025, allocations: 126.1 kB / 278.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.004068, allocations: 35.44 kB / 278.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.004204, allocations: 69.84 kB / 278.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.004298, allocations: 114 kB / 278.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.004367, allocations: 92.98 kB / 279 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.00466, allocations: 298 kB / 279.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.004673, allocations: 0 / 279.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004674, allocations: 1.219 kB / 279.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.004689, allocations: 0 / 279.3 MB, free: 15.46 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.0008303/0.00552, allocations: 0.7887 MB / 280 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.005545, allocations: 9.312 kB / 280.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.005713, allocations: 153.7 kB / 280.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.005837, allocations: 230.4 kB / 280.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.00587, allocations: 35.41 kB / 280.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.005905, allocations: 41.95 kB / 280.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.006254, allocations: 338.6 kB / 280.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006265, allocations: 192 / 280.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.006284, allocations: 16.72 kB / 280.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.006293, allocations: 11.77 kB / 280.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.006436, allocations: 124.7 kB / 281 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.007177, allocations: 0.6964 MB / 281.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.007534, allocations: 274.5 kB / 282 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.007597, allocations: 63.38 kB / 282 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.007653, allocations: 42.19 kB / 282.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.007829, allocations: 165.7 kB / 282.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.383e-06/0.00783, allocations: 0 / 282.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=41): time 0.0002508/0.008081, allocations: 212.2 kB / 282.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.008122, allocations: 85.86 kB / 282.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.00829, allocations: 290 kB / 282.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.008312, allocations: 37.8 kB / 282.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.008398, allocations: 212 kB / 283 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.008473, allocations: 144.6 kB / 283.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.008528, allocations: 55.77 kB / 283.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.00862, allocations: 358 kB / 283.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.008666, allocations: 34.22 kB / 283.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.008727, allocations: 68.31 kB / 283.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.00891, allocations: 193.9 kB / 283.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.008913, allocations: 3.938 kB / 283.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001745/0.009087, allocations: 183.9 kB / 284.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.009098, allocations: 5.688 kB / 284.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.009103, allocations: 1.188 kB / 284.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-06/0.009111, allocations: 1.812 kB / 284.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.009286, allocations: 77.33 kB / 284.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.00929, allocations: 7.938 kB / 284.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.009348, allocations: 28.56 kB / 284.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.009357, allocations: 5 kB / 284.2 MB, free: 12.55 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.0001273/0.009485, allocations: 148.8 kB / 284.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.009525, allocations: 37.34 kB / 284.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.009749, allocations: 210.2 kB / 284.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.009752, allocations: 7.969 kB / 284.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.009754, allocations: 1.344 kB / 284.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.00976, allocations: 3.141 kB / 284.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.009965, allocations: 229.3 kB / 284.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009967, allocations: 0 / 284.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01012, allocations: 71.64 kB / 284.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.01015, allocations: 52.52 kB / 284.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01015, allocations: 1.062 kB / 284.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01016, allocations: 8.828 kB / 284.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01017, allocations: 8.906 kB / 284.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01017, allocations: 1.891 kB / 284.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01036, allocations: 228.3 kB / 285.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01039, allocations: 12.89 kB / 285.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.01044, allocations: 9.641 kB / 285.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.01049, allocations: 26.72 kB / 285.2 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.0105, allocations: 10.08 kB / 285.2 MB, free: 12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.01058, allocations: 117.6 kB / 285.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 1.688 kB / 285.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.01075, allocations: 88.3 kB / 285.4 MB, free: 11.93 MB / 282.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.0001056/0.01086, allocations: 99.41 kB / 285.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01103, allocations: 150 kB / 285.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.01104, allocations: 6.812 kB / 285.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.01113, allocations: 99.45 kB / 285.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.01125, allocations: 44.42 kB / 285.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.01207, allocations: 0.749 MB / 286.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.01215, allocations: 128.1 kB / 286.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.01222, allocations: 27.39 kB / 286.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.01231, allocations: 85.23 kB / 286.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01231, allocations: 0 / 286.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of Templates: time 0.00464/0.01695, allocations: 2.462 MB / 289.3 MB, free: 10.22 MB / 282.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.4481604862958193]