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.0008394/0.0008394, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008395/0.0008395, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.885/0.885, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.123/0.123, allocations: 21.79 MB / 281 MB, free: 7.383 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: "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 417.7 MB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.07e-05, allocations: 2.844 kB / 417.7 MB, free: 9.418 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002535/0.002556, allocations: 2.192 MB / 419.9 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003652, allocations: 430.7 kB / 420.3 MB, free: 6.793 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.003806, allocations: 11.94 kB / 420.3 MB, free: 6.781 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003925, allocations: 43.45 kB / 420.4 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.004051, allocations: 31.61 kB / 420.4 MB, free: 6.707 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.004512, allocations: 151.6 kB / 420.6 MB, free: 6.559 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.004797, allocations: 328.6 kB / 420.9 MB, free: 6.234 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.005005, allocations: 155.1 kB / 421 MB, free: 6.082 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.005164, allocations: 203.5 kB / 421.2 MB, free: 5.883 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005304, allocations: 123.5 kB / 421.3 MB, free: 5.762 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.005342, allocations: 39.94 kB / 421.4 MB, free: 5.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.005468, allocations: 63.97 kB / 421.4 MB, free: 5.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.005588, allocations: 139.5 kB / 421.6 MB, free: 5.523 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.005667, allocations: 115.5 kB / 421.7 MB, free: 5.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.006039, allocations: 442.3 kB / 422.1 MB, free: 4.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006042, allocations: 3.938 kB / 422.1 MB, free: 4.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006043, allocations: 0 / 422.1 MB, free: 4.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.00605, allocations: 0 / 422.1 MB, free: 4.973 MB / 394.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.0008396/0.006889, allocations: 0.7173 MB / 422.8 MB, free: 4.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.006931, allocations: 12.03 kB / 422.9 MB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.007031, allocations: 91.66 kB / 422.9 MB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.007149, allocations: 72.45 kB / 423 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.007309, allocations: 219.8 kB / 423.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.007341, allocations: 37.38 kB / 423.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.00739, allocations: 40.38 kB / 423.3 MB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.007869, allocations: 470.7 kB / 423.8 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007879, allocations: 192 / 423.8 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.007901, allocations: 16.38 kB / 423.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.007911, allocations: 20.12 kB / 423.8 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.008315, allocations: 375.7 kB / 424.2 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.009362, allocations: 1.031 MB / 425.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.01004, allocations: 490.2 kB / 425.7 MB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.01023, allocations: 165.7 kB / 425.8 MB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.01028, allocations: 36.97 kB / 425.9 MB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.01063, allocations: 268.5 kB / 426.1 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.383e-06/0.01063, allocations: 0 / 426.1 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006241/0.01126, allocations: 0.5631 MB / 426.7 MB, free: 224 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.01131, allocations: 88.86 kB / 426.8 MB, free: 116 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.01159, allocations: 349.6 kB / 427.1 MB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01161, allocations: 37.7 kB / 427.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.01197, allocations: 256.6 kB / 427.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.01205, allocations: 134.8 kB / 427.6 MB, free: 15.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.01211, allocations: 57.7 kB / 427.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.01221, allocations: 362.7 kB / 428 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.01239, allocations: 143.9 kB / 428.1 MB, free: 14.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01255, allocations: 186.2 kB / 428.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.01388, allocations: 0.6623 MB / 428.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01389, allocations: 0 / 428.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004433/0.01433, allocations: 433.1 kB / 429.4 MB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01435, allocations: 4 kB / 429.4 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01435, allocations: 3.938 kB / 429.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01437, allocations: 4.031 kB / 429.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01452, allocations: 71.91 kB / 429.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01453, allocations: 7.938 kB / 429.5 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.0146, allocations: 39.7 kB / 429.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01462, allocations: 8 kB / 429.5 MB, free: 13.34 MB / 410.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.0002071/0.01482, allocations: 185.7 kB / 429.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.01486, allocations: 43.72 kB / 429.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.01536, allocations: 468.8 kB / 430.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01536, allocations: 4 kB / 430.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.01537, allocations: 3.984 kB / 430.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01537, allocations: 3.938 kB / 430.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.01571, allocations: 456.3 kB / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01571, allocations: 0 / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01585, allocations: 63.91 kB / 430.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.01586, allocations: 11.98 kB / 430.7 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.01588, allocations: 8 kB / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.01588, allocations: 4 kB / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01588, allocations: 0 / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.01632, allocations: 469 kB / 431.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.01636, allocations: 39.94 kB / 431.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.01639, allocations: 8 kB / 431.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.0165, allocations: 15.98 kB / 431.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.01657, allocations: 39.88 kB / 431.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.01658, allocations: 11.98 kB / 431.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.01675, allocations: 251.2 kB / 431.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01675, allocations: 0 / 431.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.017, allocations: 95.67 kB / 431.6 MB, free: 11.12 MB / 410.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.0009548/0.01795, allocations: 1.222 MB / 432.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.01836, allocations: 351.2 kB / 433.2 MB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01837, allocations: 4 kB / 433.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.01854, allocations: 187.8 kB / 433.4 MB, free: 9.332 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01874, allocations: 32.66 kB / 433.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.0222, allocations: 3.807 MB / 437.2 MB, free: 5.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.02237, allocations: 252.5 kB / 437.5 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.364e-05/0.02246, allocations: 30.28 kB / 437.5 MB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.02262, allocations: 176.4 kB / 437.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.02263, allocations: 0 / 437.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/0.2026, allocations: 7.099 MB / 444.8 MB, free: 64.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.408, allocations: 4.047 kB / 444.8 MB, free: 64.28 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM_res.csv --start-time 1949 --stop-time 1978 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0116 SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM.fmu > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.397800570353866] Failed to read output from testmodel.py, exit status != 0: 7.492966919206083 7.503130834 7.494552848 Calling exit ...