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.001033/0.001033, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001155/0.001155, allocations: 174 kB / 23.28 MB, free: 1.219 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 1.07/1.07, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.1414/0.1414, allocations: 21.79 MB / 282 MB, free: 7.012 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.853e-06/1.853e-06, allocations: 0 / 359.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.31e-05, allocations: 9.203 kB / 359.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002833/0.002856, allocations: 2.239 MB / 361.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.003647, allocations: 442.6 kB / 361.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003764, allocations: 8 kB / 361.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.003874, allocations: 51.39 kB / 361.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.003992, allocations: 27.62 kB / 362 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.004378, allocations: 155.6 kB / 362.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.004588, allocations: 320.7 kB / 362.4 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.004773, allocations: 151.1 kB / 362.6 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.004907, allocations: 203.5 kB / 362.8 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005041, allocations: 127.5 kB / 362.9 MB, free: 1.109 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.005079, allocations: 32 kB / 362.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.005183, allocations: 67.91 kB / 363 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.005275, allocations: 143.5 kB / 363.1 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.005535, allocations: 123.5 kB / 363.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.005808, allocations: 330.5 kB / 363.6 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00581, allocations: 0 / 363.6 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005811, allocations: 0 / 363.6 MB, free: 436 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005816, allocations: 0 / 363.6 MB, free: 436 kB / 330.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.0008068/0.006623, allocations: 0.8288 MB / 364.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006659, allocations: 12.03 kB / 364.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.006794, allocations: 108.5 kB / 364.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.006917, allocations: 226.6 kB / 364.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.006943, allocations: 29.38 kB / 364.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.006975, allocations: 44.38 kB / 364.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.007329, allocations: 337 kB / 365.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00734, allocations: 192 / 365.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.007362, allocations: 20.38 kB / 365.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.007371, allocations: 12.38 kB / 365.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.007509, allocations: 134.8 kB / 365.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.008312, allocations: 0.9093 MB / 366.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.008675, allocations: 257.2 kB / 366.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.00874, allocations: 71.34 kB / 366.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.008793, allocations: 40.97 kB / 366.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.009058, allocations: 164.1 kB / 366.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.009059, allocations: 0 / 366.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003068/0.009366, allocations: 286.4 kB / 367 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.009403, allocations: 89.05 kB / 367.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.009585, allocations: 374.5 kB / 367.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.009605, allocations: 37.7 kB / 367.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.009725, allocations: 311.3 kB / 367.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.009797, allocations: 138.7 kB / 367.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.009859, allocations: 71.31 kB / 368 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.009983, allocations: 0.5273 MB / 368.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.01003, allocations: 35.97 kB / 368.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.01009, allocations: 94.72 kB / 368.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.01028, allocations: 213.5 kB / 368.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01028, allocations: 0 / 368.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001982/0.01048, allocations: 245.3 kB / 369.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01049, allocations: 11.94 kB / 369.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01049, allocations: 0 / 369.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.01051, allocations: 0 / 369.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01066, allocations: 71.91 kB / 369.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.01066, allocations: 4 kB / 369.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.01072, allocations: 23.84 kB / 369.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01073, allocations: 20.02 kB / 369.2 MB, free: 10.48 MB / 346.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.000144/0.01088, allocations: 181.3 kB / 369.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.01092, allocations: 47.77 kB / 369.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.01118, allocations: 261.3 kB / 369.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01118, allocations: 4 kB / 369.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01118, allocations: 0 / 369.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01119, allocations: 0 / 369.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.0114, allocations: 280.9 kB / 370 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.0114, allocations: 0 / 370 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.01152, allocations: 63.84 kB / 370.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01153, allocations: 4 kB / 370.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01154, allocations: 7.984 kB / 370.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01154, allocations: 4 kB / 370.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01154, allocations: 0 / 370.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.012, allocations: 299 kB / 370.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.01203, allocations: 39.64 kB / 370.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01206, allocations: 15.98 kB / 370.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.01211, allocations: 12 kB / 370.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.01215, allocations: 27.94 kB / 370.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01217, allocations: 12 kB / 370.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.01226, allocations: 235 kB / 370.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0 / 370.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01245, allocations: 99.62 kB / 370.8 MB, free: 8.844 MB / 346.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.000114/0.01256, allocations: 107.2 kB / 370.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01274, allocations: 163.5 kB / 371.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01274, allocations: 4.062 kB / 371.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.01284, allocations: 111.9 kB / 371.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.013, allocations: 37.36 kB / 371.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.01369, allocations: 0.7361 MB / 372 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.01376, allocations: 132.8 kB / 372.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.01384, allocations: 25.94 kB / 372.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.01393, allocations: 102.2 kB / 372.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01393, allocations: 0 / 372.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of Templates: time 0.004486/0.01841, allocations: 2.43 MB / 374.6 MB, free: 4.961 MB / 346.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: 3.0323898079805076]