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.0008639/0.0008638, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001099/0.001099, allocations: 168.7 kB / 15.95 MB, free: 204 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.246/1.246, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2636/0.2636, allocations: 28.84 MB / 319.9 MB, free: 6.266 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8 kB / 388 MB, free: 3.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2471, allocations: 57.48 MB / 445.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.001818/0.249, allocations: 1.917 MB / 447.4 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000873/0.2499, allocations: 0.5847 MB / 448 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2501, allocations: 2.906 kB / 448 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2502, allocations: 31.89 kB / 448 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.2503, allocations: 20.77 kB / 448 MB, free: 30.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2506, allocations: 95.56 kB / 448.1 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2509, allocations: 231.2 kB / 448.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2511, allocations: 142.8 kB / 448.5 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.2511, allocations: 75.69 kB / 448.5 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.2512, allocations: 81.06 kB / 448.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2513, allocations: 5.781 kB / 448.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.2514, allocations: 31.05 kB / 448.7 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.2514, allocations: 47.41 kB / 448.7 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.2515, allocations: 76.33 kB / 448.8 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.2517, allocations: 207.1 kB / 449 MB, free: 30.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2517, allocations: 3 kB / 449 MB, free: 30.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2517, allocations: 4 kB / 449 MB, free: 30.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2517, allocations: 0 / 449 MB, free: 30.47 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.0006683/0.2524, allocations: 0.6034 MB / 449.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2524, allocations: 8.875 kB / 449.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/0.2525, allocations: 73.66 kB / 449.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.2526, allocations: 49.67 kB / 449.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2528, allocations: 274.3 kB / 450 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2528, allocations: 19.47 kB / 450 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.2529, allocations: 33.38 kB / 450 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.2533, allocations: 353.8 kB / 450.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2533, allocations: 2.938 kB / 450.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2534, allocations: 14.98 kB / 450.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2534, allocations: 9.781 kB / 450.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.2538, allocations: 247.4 kB / 450.7 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2549, allocations: 1.182 MB / 451.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.2552, allocations: 225.4 kB / 452.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.2554, allocations: 106 kB / 452.2 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.2554, allocations: 17.38 kB / 452.2 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.2557, allocations: 157.8 kB / 452.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/0.2557, allocations: 3.984 kB / 452.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005771/0.2563, allocations: 340.8 kB / 452.7 MB, free: 28.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2563, allocations: 58.2 kB / 452.7 MB, free: 28.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2565, allocations: 263.9 kB / 453 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2566, allocations: 35.22 kB / 453 MB, free: 27.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.2567, allocations: 213.6 kB / 453.2 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.2567, allocations: 67.75 kB / 453.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.2567, allocations: 0 / 453.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.2568, allocations: 345.3 kB / 453.6 MB, free: 27.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.257, allocations: 93.89 kB / 453.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2571, allocations: 144.6 kB / 453.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.2573, allocations: 136.1 kB / 454 MB, free: 27.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2574, allocations: 0 / 454 MB, free: 27.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004522/0.2578, allocations: 335 kB / 454.3 MB, free: 27.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2578, allocations: 30.95 kB / 454.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2579, allocations: 6.75 kB / 454.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2579, allocations: 2.625 kB / 454.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.258, allocations: 38.44 kB / 454.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2581, allocations: 2.625 kB / 454.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.2582, allocations: 36.16 kB / 454.4 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2582, allocations: 13.19 kB / 454.5 MB, free: 26.99 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.0001176/0.2583, allocations: 155.9 kB / 454.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.2584, allocations: 26.22 kB / 454.6 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.2588, allocations: 268.7 kB / 454.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2588, allocations: 2.625 kB / 454.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2588, allocations: 0 / 454.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2588, allocations: 7.953 kB / 454.9 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.2595, allocations: 0.6713 MB / 455.6 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2595, allocations: 0 / 455.6 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2597, allocations: 33.42 kB / 455.6 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.2597, allocations: 7.188 kB / 455.6 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2597, allocations: 14.56 kB / 455.6 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2597, allocations: 0 / 455.6 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2597, allocations: 6.578 kB / 455.6 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.2603, allocations: 467.5 kB / 456.1 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2603, allocations: 105 kB / 456.2 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.2604, allocations: 4 kB / 456.2 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2605, allocations: 16.45 kB / 456.2 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.2606, allocations: 22.39 kB / 456.2 MB, free: 25.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2606, allocations: 11 kB / 456.2 MB, free: 25.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2607, allocations: 186.9 kB / 456.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2607, allocations: 0 / 456.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.261, allocations: 67.98 kB / 456.5 MB, free: 25.8 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.0007283/0.2617, allocations: 1.011 MB / 457.5 MB, free: 25.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.2622, allocations: 282.3 kB / 457.8 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2622, allocations: 0 / 457.8 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2624, allocations: 115.6 kB / 457.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2627, allocations: 34.64 kB / 457.9 MB, free: 24.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.265, allocations: 1.819 MB / 459.8 MB, free: 23.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2652, allocations: 0.7887 MB / 460.5 MB, free: 23.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.2653, allocations: 18.36 kB / 460.6 MB, free: 23.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2654, allocations: 105.9 kB / 460.7 MB, free: 23.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2654, allocations: 0.8125 kB / 460.7 MB, free: 23.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.2827, allocations: 4.389 MB / 465.1 MB, free: 22.7 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.2829, allocations: 200.2 kB / 465.2 MB, free: 22.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.873, allocations: 0 / 465.2 MB, free: 22.45 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: