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.001192/0.001192, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001316/0.001316, allocations: 219 kB / 23.03 MB, free: 4.945 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.31/1.31, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.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.1691/0.1691, allocations: 29.23 MB / 342.4 MB, free: 5.602 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: "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="cs",version="2.0",platforms={"static"}) [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.00185/0.00185, allocations: 78.92 kB / 479.1 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 60.79 MB / 0.5272 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.00297/0.3052, allocations: 2.184 MB / 0.5294 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.3062, allocations: 450.1 kB / 0.5298 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3063, allocations: 4.156 kB / 0.5298 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3064, allocations: 45.56 kB / 0.5298 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.3066, allocations: 29.92 kB / 0.5299 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.307, allocations: 151.9 kB / 0.53 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.3073, allocations: 317.9 kB / 0.5303 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.3075, allocations: 162.1 kB / 0.5305 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3077, allocations: 142.5 kB / 0.5306 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3078, allocations: 181.1 kB / 0.5308 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.3079, allocations: 34.72 kB / 0.5308 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.308, allocations: 66.02 kB / 0.5309 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3082, allocations: 135 kB / 0.531 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3083, allocations: 157.3 kB / 0.5311 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.3087, allocations: 449.2 kB / 0.5316 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3087, allocations: 1.156 kB / 0.5316 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3087, allocations: 0 / 0.5316 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3087, allocations: 0 / 0.5316 GB, free: 5.07 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.001052/0.3098, allocations: 0.7187 MB / 0.5323 GB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3098, allocations: 9.812 kB / 0.5323 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.366e-05/0.3099, allocations: 13.59 kB / 0.5323 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.3099, allocations: 91.62 kB / 0.5324 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3101, allocations: 73.28 kB / 0.5325 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3102, allocations: 226.1 kB / 0.5327 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.3103, allocations: 36.38 kB / 0.5327 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.3103, allocations: 43.72 kB / 0.5327 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.311, allocations: 479.1 kB / 0.5332 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3111, allocations: 1.312 kB / 0.5332 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3111, allocations: 19.86 kB / 0.5332 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3111, allocations: 12.44 kB / 0.5332 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.3117, allocations: 387.8 kB / 0.5336 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3131, allocations: 1.071 MB / 0.5347 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3142, allocations: 498.4 kB / 0.5351 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.3144, allocations: 184.5 kB / 0.5353 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.3145, allocations: 36.89 kB / 0.5353 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.315, allocations: 280.2 kB / 0.5356 GB, free: 2.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.794e-06/0.315, allocations: 0 / 0.5356 GB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.002468/0.3174, allocations: 1.545 MB / 0.5371 GB, free: 2.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3175, allocations: 85.03 kB / 0.5372 GB, free: 2.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3178, allocations: 354.6 kB / 0.5375 GB, free: 1.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3178, allocations: 37.98 kB / 0.5376 GB, free: 1.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3179, allocations: 257.1 kB / 0.5378 GB, free: 1.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/0.318, allocations: 188.3 kB / 0.538 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3181, allocations: 78.84 kB / 0.5381 GB, free: 1.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.3182, allocations: 359.6 kB / 0.5384 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3185, allocations: 220 kB / 0.5386 GB, free: 1.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3188, allocations: 268.6 kB / 0.5389 GB, free: 0.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.3215, allocations: 0.9066 MB / 0.5398 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3215, allocations: 0 / 0.5398 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007812/0.3223, allocations: 0.6034 MB / 0.5404 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3223, allocations: 5.688 kB / 0.5404 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3223, allocations: 1.156 kB / 0.5404 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3223, allocations: 3.219 kB / 0.5404 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.3227, allocations: 100.5 kB / 0.5405 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3227, allocations: 10.77 kB / 0.5405 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3229, allocations: 18.81 kB / 0.5405 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.3229, allocations: 23.66 kB / 0.5405 GB, free: 212 kB / 382.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 (58): * Single equations (assignments): 58 * 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.0002087/0.3231, allocations: 202.2 kB / 0.5407 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3232, allocations: 44.16 kB / 0.5407 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.3243, allocations: 0.6885 MB / 0.5414 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3243, allocations: 5.594 kB / 0.5414 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3243, allocations: 1 kB / 0.5414 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3243, allocations: 5.047 kB / 0.5414 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3262, allocations: 1.417 MB / 0.5428 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3262, allocations: 3.344 kB / 0.5428 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.3265, allocations: 96.17 kB / 0.5429 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3265, allocations: 5.438 kB / 0.5429 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.3266, allocations: 20.05 kB / 0.5429 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3266, allocations: 13.84 kB / 0.5429 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3266, allocations: 2.438 kB / 0.5429 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.3276, allocations: 0.8438 MB / 0.5438 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.3276, allocations: 49.78 kB / 0.5438 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.3277, allocations: 15.72 kB / 0.5438 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3279, allocations: 15.55 kB / 0.5438 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.328, allocations: 55.22 kB / 0.5439 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3281, allocations: 35.39 kB / 0.5439 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.3283, allocations: 251.4 kB / 0.5442 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3283, allocations: 0.5938 kB / 0.5442 GB, free: 13.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.3287, allocations: 89.45 kB / 0.5443 GB, free: 13.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (57): * Single equations (assignments): 55 * 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.001871/0.3306, allocations: 1.733 MB / 0.546 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008094/0.3314, allocations: 0.523 MB / 0.5465 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3314, allocations: 0.9688 kB / 0.5465 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.3318, allocations: 299 kB / 0.5467 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3323, allocations: 39.31 kB / 0.5468 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.3381, allocations: 4.888 MB / 0.5516 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3384, allocations: 272 kB / 0.5518 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3386, allocations: 58.97 kB / 0.5519 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.3389, allocations: 207.4 kB / 0.5521 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3389, allocations: 0 / 0.5521 GB, free: 7.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3686, allocations: 8.221 MB / 0.5601 GB, free: 15.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.48, allocations: 8.047 kB / 0.5601 GB, free: 15.04 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM_fmu --startTime=1949 --stopTime=1978 --stepSize=0.0116 --timeout=50 --tolerance=1e-06 SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM.fmu > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.99792899203021] Failed to read output from testmodel.py, exit status != 0: 11.643158574937843 11.66575776 11.353800318 Calling exit ...