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.00133/0.00133, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001497/0.001497, allocations: 161.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.355/1.355, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.1 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.1791/0.1791, allocations: 21.81 MB / 281.6 MB, free: 10.8 MB / 270.1 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 418.7 MB, free: 14.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 60.75 MB / 479.5 MB, free: 1.863 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.1971/0.3048, allocations: 2.188 MB / 481.6 MB, free: 42.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.3057, allocations: 445.5 kB / 482.1 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3059, allocations: 6.25 kB / 482.1 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.306, allocations: 48.72 kB / 482.1 MB, free: 42.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3061, allocations: 29.62 kB / 482.2 MB, free: 42.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.3065, allocations: 148.6 kB / 482.3 MB, free: 42.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3068, allocations: 325.1 kB / 482.6 MB, free: 42.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.307, allocations: 145.2 kB / 482.8 MB, free: 42.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.3071, allocations: 141.9 kB / 482.9 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3072, allocations: 153.9 kB / 483.1 MB, free: 42.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.3072, allocations: 33.62 kB / 483.1 MB, free: 42.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3073, allocations: 71.67 kB / 483.2 MB, free: 42.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.3074, allocations: 127.6 kB / 483.3 MB, free: 42.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.3075, allocations: 173.8 kB / 483.5 MB, free: 42.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3078, allocations: 443 kB / 483.9 MB, free: 42.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3078, allocations: 0 / 483.9 MB, free: 42.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3078, allocations: 0 / 483.9 MB, free: 42.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3079, allocations: 0 / 483.9 MB, free: 42.53 MB / 446.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.0009092/0.3088, allocations: 0.7256 MB / 484.6 MB, free: 42.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3088, allocations: 13.53 kB / 484.6 MB, free: 42.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3089, allocations: 64.8 kB / 484.7 MB, free: 42.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3091, allocations: 219.9 kB / 484.9 MB, free: 41.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.3091, allocations: 37.08 kB / 484.9 MB, free: 41.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.3091, allocations: 45.25 kB / 485 MB, free: 41.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.3097, allocations: 469.3 kB / 485.4 MB, free: 41.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3097, allocations: 192 / 485.4 MB, free: 41.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3097, allocations: 21.94 kB / 485.5 MB, free: 41.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3097, allocations: 9.531 kB / 485.5 MB, free: 41.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.3103, allocations: 370.6 kB / 485.8 MB, free: 41.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3113, allocations: 0.9578 MB / 486.8 MB, free: 41.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.3123, allocations: 489 kB / 487.3 MB, free: 41.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.3125, allocations: 164.4 kB / 487.4 MB, free: 41.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.3126, allocations: 33.92 kB / 487.5 MB, free: 41.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.313, allocations: 278.9 kB / 487.7 MB, free: 40.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.774e-06/0.313, allocations: 0 / 487.7 MB, free: 40.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008427/0.3138, allocations: 0.5548 MB / 488.3 MB, free: 40.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3138, allocations: 87.58 kB / 488.4 MB, free: 40.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3141, allocations: 341.7 kB / 488.7 MB, free: 40.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3141, allocations: 40.19 kB / 488.8 MB, free: 40.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.3142, allocations: 258.2 kB / 489 MB, free: 40.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.3142, allocations: 150.8 kB / 489.2 MB, free: 40.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.3143, allocations: 57.97 kB / 489.2 MB, free: 40.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.3144, allocations: 357.2 kB / 489.6 MB, free: 39.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3146, allocations: 136.8 kB / 489.7 MB, free: 39.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3148, allocations: 184.9 kB / 489.9 MB, free: 39.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.3171, allocations: 0.6684 MB / 490.5 MB, free: 39.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3171, allocations: 0 / 490.5 MB, free: 39.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000569/0.3177, allocations: 424.9 kB / 491 MB, free: 39.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3177, allocations: 7.156 kB / 491 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3177, allocations: 3.219 kB / 491 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3177, allocations: 0 / 491 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.318, allocations: 71.72 kB / 491 MB, free: 39.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.318, allocations: 8.5 kB / 491 MB, free: 39.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3182, allocations: 35.28 kB / 491.1 MB, free: 39.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3182, allocations: 13.19 kB / 491.1 MB, free: 39.28 MB / 446.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.0001908/0.3184, allocations: 184 kB / 491.3 MB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.3184, allocations: 42.75 kB / 491.3 MB, free: 39.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/0.3191, allocations: 470.4 kB / 491.8 MB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3191, allocations: 6.188 kB / 491.8 MB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3191, allocations: 0 / 491.8 MB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3191, allocations: 3.938 kB / 491.8 MB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3194, allocations: 388 kB / 492.2 MB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3194, allocations: 0 / 492.2 MB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.3197, allocations: 67.98 kB / 492.2 MB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3197, allocations: 0 / 492.2 MB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3197, allocations: 14.59 kB / 492.2 MB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3197, allocations: 3.156 kB / 492.2 MB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3197, allocations: 0 / 492.2 MB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.3203, allocations: 466.7 kB / 492.7 MB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.3203, allocations: 37 kB / 492.7 MB, free: 38.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.3203, allocations: 18.53 kB / 492.8 MB, free: 38.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3205, allocations: 12.41 kB / 492.8 MB, free: 38.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.3205, allocations: 31.44 kB / 492.8 MB, free: 38.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3206, allocations: 17.38 kB / 492.8 MB, free: 38.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3207, allocations: 250.9 kB / 493.1 MB, free: 38.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3207, allocations: 3.938 kB / 493.1 MB, free: 38.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.321, allocations: 96.33 kB / 493.2 MB, free: 38.28 MB / 446.1 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.3211, allocations: 112.9 kB / 493.3 MB, free: 38.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.3216, allocations: 354.9 kB / 493.6 MB, free: 38.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3216, allocations: 0 / 493.6 MB, free: 38.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.3219, allocations: 189 kB / 493.8 MB, free: 38.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3221, allocations: 28.72 kB / 493.8 MB, free: 38.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.3231, allocations: 0.8378 MB / 494.7 MB, free: 37.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3232, allocations: 246.8 kB / 494.9 MB, free: 37.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3233, allocations: 28.56 kB / 494.9 MB, free: 37.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.3234, allocations: 27.08 kB / 495 MB, free: 37.46 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3234, allocations: 0 / 495 MB, free: 37.46 MB / 446.1 MB Notification: Performance of Templates: time 0.005408/0.3288, allocations: 2.167 MB / 497.1 MB, free: 37.21 MB / 446.1 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=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.583032552036457] Failed to read output from testmodel.py, exit status != 0: 0.33642283093649894 0.344866157 0.034850102 Calling exit ...