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.001543/0.001543, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001993/0.001994, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1872/0.1872, allocations: 28.79 MB / 320 MB, free: 1.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 55.91 kB / 445 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 56.42 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.003864/0.1169, allocations: 2.37 MB / 0.4919 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1181, allocations: 426.7 kB / 0.4923 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1184, allocations: 4 kB / 0.4923 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1186, allocations: 51.39 kB / 0.4924 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1188, allocations: 35.61 kB / 0.4924 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.1194, allocations: 143.8 kB / 0.4926 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1198, allocations: 320.6 kB / 0.4929 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.1203, allocations: 210.7 kB / 0.4931 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1205, allocations: 131.4 kB / 0.4932 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1207, allocations: 175.1 kB / 0.4934 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.1208, allocations: 36 kB / 0.4934 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1209, allocations: 59.97 kB / 0.4935 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1211, allocations: 135.5 kB / 0.4936 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.1213, allocations: 206.6 kB / 0.4938 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.1218, allocations: 434.1 kB / 0.4942 GB, free: 5.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1218, allocations: 0 / 0.4942 GB, free: 5.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1218, allocations: 0 / 0.4942 GB, free: 5.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1218, allocations: 0 / 0.4942 GB, free: 5.414 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.001683/0.1235, allocations: 0.7892 MB / 0.495 GB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.1236, allocations: 12.03 kB / 0.495 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1237, allocations: 60.19 kB / 0.495 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.124, allocations: 274.1 kB / 0.4953 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.1241, allocations: 37.36 kB / 0.4953 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1242, allocations: 44.31 kB / 0.4954 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.1251, allocations: 466.6 kB / 0.4958 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1251, allocations: 4.188 kB / 0.4958 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.1251, allocations: 23.94 kB / 0.4959 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1252, allocations: 12 kB / 0.4959 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.1259, allocations: 375.8 kB / 0.4962 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1279, allocations: 1.133 MB / 0.4973 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.1292, allocations: 0.5155 MB / 0.4978 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.1295, allocations: 169.6 kB / 0.498 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.741e-05/0.1296, allocations: 36.97 kB / 0.498 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.1302, allocations: 272.7 kB / 0.4983 GB, free: 1.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.1302, allocations: 0 / 0.4983 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001168/0.1314, allocations: 0.5555 MB / 0.4988 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1314, allocations: 93.11 kB / 0.4989 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1318, allocations: 349.6 kB / 0.4993 GB, free: 0 / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1319, allocations: 33.7 kB / 0.4993 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.132, allocations: 256.2 kB / 0.4995 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1322, allocations: 126.1 kB / 0.4996 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/0.1323, allocations: 65.69 kB / 0.4997 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1324, allocations: 346.8 kB / 0.5 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.1327, allocations: 147.9 kB / 0.5002 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.133, allocations: 178.3 kB / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.1357, allocations: 0.6688 MB / 0.501 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1357, allocations: 3.938 kB / 0.501 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008493/0.1366, allocations: 432.8 kB / 0.5014 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1366, allocations: 4 kB / 0.5014 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1366, allocations: 8.031 kB / 0.5014 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1366, allocations: 0 / 0.5014 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.137, allocations: 71.91 kB / 0.5015 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.137, allocations: 7.922 kB / 0.5015 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1372, allocations: 27.72 kB / 0.5015 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1372, 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.0003/0.1375, allocations: 194.5 kB / 0.5017 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1376, allocations: 39.53 kB / 0.5018 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.1385, allocations: 462.3 kB / 0.5022 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1385, allocations: 0 / 0.5022 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1385, allocations: 0 / 0.5022 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1386, allocations: 124.4 kB / 0.5023 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.1387, allocations: 12 kB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1388, allocations: 15.98 kB / 0.5024 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.1389, allocations: 27.72 kB / 0.5024 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009084/0.1398, allocations: 0.5817 MB / 0.503 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008235/0.1407, allocations: 0.6574 MB / 0.5036 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003094/0.141, allocations: 188.3 kB / 0.5038 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1412, allocations: 255.1 kB / 0.504 GB, free: 11 MB / 398.1 MB Notification: Performance of Backend: time 1.874e-06/0.1413, allocations: 0 / 0.504 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009139/0.1422, allocations: 300.7 kB / 0.5043 GB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.001528/0.1437, allocations: 1.143 MB / 0.5054 GB, free: 9.516 MB / 398.1 MB Notification: Performance of Templates: time 0.008497/0.1522, allocations: 3.219 MB / 0.5086 GB, free: 6.297 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)