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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 115.8 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 186.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.167/0.167, allocations: 28.78 MB / 320 MB, free: 1.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.14 kB / 445 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1077, allocations: 56.42 MB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003807/0.1116, allocations: 2.37 MB / 0.4919 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1127, allocations: 438.6 kB / 0.4924 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.113, allocations: 4 kB / 0.4924 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.1132, allocations: 47.45 kB / 0.4924 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1134, allocations: 27.62 kB / 0.4924 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1138, allocations: 143.7 kB / 0.4926 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1142, allocations: 320.7 kB / 0.4929 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.1145, allocations: 210.6 kB / 0.4931 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1146, allocations: 131.4 kB / 0.4932 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1148, allocations: 175.1 kB / 0.4934 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.1149, allocations: 32 kB / 0.4934 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.115, allocations: 67.91 kB / 0.4935 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1152, allocations: 131.6 kB / 0.4936 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1154, allocations: 210.6 kB / 0.4938 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.1159, allocations: 434.1 kB / 0.4942 GB, free: 5.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1159, allocations: 4 kB / 0.4942 GB, free: 5.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1159, allocations: 0 / 0.4942 GB, free: 5.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.116, allocations: 0 / 0.4942 GB, free: 5.398 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.001213/0.1172, allocations: 0.7814 MB / 0.495 GB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1172, allocations: 8.031 kB / 0.495 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1173, allocations: 64.19 kB / 0.495 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1176, allocations: 278.1 kB / 0.4953 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.1177, allocations: 33.38 kB / 0.4953 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.1178, allocations: 48.31 kB / 0.4954 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.1186, allocations: 462.7 kB / 0.4958 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1186, allocations: 4.188 kB / 0.4958 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.1188, allocations: 19.94 kB / 0.4958 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1188, allocations: 12 kB / 0.4959 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.1195, allocations: 375.7 kB / 0.4962 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.121, allocations: 1.133 MB / 0.4973 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1222, allocations: 0.516 MB / 0.4978 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1225, allocations: 177.6 kB / 0.498 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.1227, allocations: 40.95 kB / 0.498 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.1232, allocations: 264.8 kB / 0.4983 GB, free: 1.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.1232, allocations: 0 / 0.4983 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001014/0.1242, allocations: 0.5594 MB / 0.4988 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1243, allocations: 81.11 kB / 0.4989 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1247, allocations: 357.7 kB / 0.4993 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1247, allocations: 37.7 kB / 0.4993 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1249, allocations: 252.2 kB / 0.4995 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.125, allocations: 134.1 kB / 0.4997 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.1251, allocations: 53.7 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1252, allocations: 350.8 kB / 0.5 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1255, allocations: 143.9 kB / 0.5002 GB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1258, allocations: 186.3 kB / 0.5004 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.1285, allocations: 0.6648 MB / 0.501 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1285, allocations: 0 / 0.501 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007138/0.1293, allocations: 436.7 kB / 0.5014 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1293, allocations: 4 kB / 0.5014 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1293, allocations: 0 / 0.5014 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1293, allocations: 8.031 kB / 0.5014 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1297, allocations: 71.89 kB / 0.5015 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1297, allocations: 4 kB / 0.5015 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1298, allocations: 27.72 kB / 0.5015 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1299, allocations: 12 kB / 0.5015 GB, free: 13.59 MB / 398.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.0003044/0.1302, allocations: 190.5 kB / 0.5017 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1302, allocations: 43.53 kB / 0.5018 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.1311, allocations: 458.3 kB / 0.5022 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.1311, allocations: 4 kB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1311, allocations: 0 / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.1312, allocations: 124.7 kB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.1312, allocations: 12 kB / 0.5023 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1315, allocations: 15.98 kB / 0.5024 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.1316, allocations: 35.7 kB / 0.5024 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009507/0.1326, allocations: 0.5739 MB / 0.5029 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007857/0.1334, allocations: 0.6652 MB / 0.5036 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002919/0.1337, allocations: 192.2 kB / 0.5038 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.1339, allocations: 251.1 kB / 0.504 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Backend: time 6.01e-07/0.1339, allocations: 0 / 0.504 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.1348, allocations: 294.2 kB / 0.5043 GB, free: 10.7 MB / 398.1 MB Notification: Performance of SimCode: time 0.001335/0.1361, allocations: 1.146 MB / 0.5054 GB, free: 9.504 MB / 398.1 MB Notification: Performance of Templates: time 0.007728/0.1439, allocations: 3.215 MB / 0.5086 GB, free: 6.289 MB / 398.1 MB make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.makefile (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)