Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009613, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009744/0.0009745, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3072/0.3072, allocations: 28.84 MB / 319.8 MB, free: 6.285 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002975, allocations: 11.98 kB / 387.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2891, allocations: 57.47 MB / 445.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.001819/0.291, allocations: 1.92 MB / 447.3 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.2917, allocations: 0.5942 MB / 447.9 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2919, allocations: 2.719 kB / 447.9 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.2919, allocations: 18.28 kB / 447.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2921, allocations: 32.16 kB / 447.9 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2924, allocations: 83.86 kB / 448 MB, free: 31.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2926, allocations: 157.5 kB / 448.1 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.2928, allocations: 137.7 kB / 448.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.2928, allocations: 78.31 kB / 448.4 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.2929, allocations: 81.81 kB / 448.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.293, allocations: 5.969 kB / 448.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.379e-05/0.2931, allocations: 28.39 kB / 448.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.2931, allocations: 60.69 kB / 448.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.2932, allocations: 72.48 kB / 448.6 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2933, allocations: 208.7 kB / 448.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2934, allocations: 0 / 448.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2934, allocations: 0 / 448.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2934, allocations: 0 / 448.8 MB, free: 30.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007111/0.2941, allocations: 0.6034 MB / 449.4 MB, free: 30.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2941, allocations: 8.438 kB / 449.4 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.753e-05/0.2942, allocations: 84.55 kB / 449.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.2943, allocations: 43.72 kB / 449.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.2945, allocations: 271 kB / 449.8 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2945, allocations: 27.19 kB / 449.8 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.2946, allocations: 28.47 kB / 449.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.2951, allocations: 348.2 kB / 450.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2951, allocations: 0 / 450.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.2951, allocations: 14.73 kB / 450.2 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.2951, allocations: 8.656 kB / 450.2 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.2956, allocations: 256.4 kB / 450.5 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2967, allocations: 1.173 MB / 451.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.2971, allocations: 229.6 kB / 451.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.2971, allocations: 21.44 kB / 451.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.2974, allocations: 152.2 kB / 452 MB, free: 28.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2974, allocations: 0 / 452 MB, free: 28.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.000668/0.2981, allocations: 340.5 kB / 452.4 MB, free: 28.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2982, allocations: 54.03 kB / 452.4 MB, free: 28.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2984, allocations: 272 kB / 452.7 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2984, allocations: 29.7 kB / 452.7 MB, free: 28.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.2985, allocations: 218.1 kB / 452.9 MB, free: 27.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2985, allocations: 70.77 kB / 453 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.2986, allocations: 0 / 453 MB, free: 27.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.2986, allocations: 336.2 kB / 453.3 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2988, allocations: 101.1 kB / 453.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.299, allocations: 140.1 kB / 453.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2993, allocations: 128 kB / 453.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2993, allocations: 7.938 kB / 453.7 MB, free: 27.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004947/0.2998, allocations: 332.8 kB / 454 MB, free: 27.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2998, allocations: 31.73 kB / 454.1 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2998, allocations: 0 / 454.1 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2998, allocations: 6.719 kB / 454.1 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3, allocations: 48 kB / 454.1 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3001, allocations: 7.031 kB / 454.1 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3002, allocations: 26.72 kB / 454.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3002, allocations: 9.656 kB / 454.2 MB, free: 27.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.3004, allocations: 161.8 kB / 454.3 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3004, allocations: 31.06 kB / 454.3 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3009, allocations: 264.7 kB / 454.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3009, allocations: 2.719 kB / 454.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3009, allocations: 3.938 kB / 454.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3009, allocations: 0 / 454.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.3017, allocations: 0.6797 MB / 455.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3017, allocations: 0 / 455.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3019, allocations: 40.47 kB / 455.3 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3019, allocations: 0 / 455.3 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3019, allocations: 10.91 kB / 455.3 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3019, allocations: 0 / 455.3 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3019, allocations: 3.953 kB / 455.3 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.3025, allocations: 470.6 kB / 455.8 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.3026, allocations: 98.11 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3026, allocations: 6.969 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3028, allocations: 15.36 kB / 455.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.3029, allocations: 20.83 kB / 455.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3029, allocations: 7.062 kB / 455.9 MB, free: 26.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.303, allocations: 193.4 kB / 456.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.303, allocations: 3.938 kB / 456.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.3034, allocations: 63.12 kB / 456.2 MB, free: 26.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008039/0.3042, allocations: 1.011 MB / 457.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3046, allocations: 285.8 kB / 457.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3046, allocations: 0 / 457.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3048, allocations: 112.2 kB / 457.6 MB, free: 25.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3051, allocations: 31.86 kB / 457.6 MB, free: 25.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3075, allocations: 2.411 MB / 460 MB, free: 23.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3077, allocations: 0.8002 MB / 460.8 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.3078, allocations: 12.86 kB / 460.9 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3079, allocations: 106.4 kB / 461 MB, free: 22.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3079, allocations: 0 / 461 MB, free: 22.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.3227, allocations: 4.37 MB / 465.3 MB, free: 22.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.323, allocations: 195.3 kB / 465.5 MB, free: 22.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.106, allocations: 0 / 465.5 MB, free: 22.08 MB / 350.1 MB (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-10 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) Environment - environmentSimulation: