Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",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.0007766/0.0007766, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007599/0.00076, allocations: 172.7 kB / 15.95 MB, free: 208 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.242/1.242, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.257/0.257, allocations: 28.85 MB / 319.9 MB, free: 6.273 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 11.98 kB / 388 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2382, allocations: 57.47 MB / 445.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.001558/0.2398, allocations: 1.594 MB / 447 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004244/0.2402, allocations: 292 kB / 447.3 MB, free: 31.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2403, allocations: 13.75 kB / 447.3 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2405, allocations: 43.02 kB / 447.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.2406, allocations: 22.08 kB / 447.4 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.2407, allocations: 99.75 kB / 447.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.241, allocations: 361.3 kB / 447.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2413, allocations: 265.2 kB / 448.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.2413, allocations: 83.02 kB / 448.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.2414, allocations: 117.2 kB / 448.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.2414, allocations: 8.031 kB / 448.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.2415, allocations: 8.844 kB / 448.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.2415, allocations: 49.59 kB / 448.4 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.2415, allocations: 88.05 kB / 448.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2417, allocations: 273.9 kB / 448.7 MB, free: 30.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2417, allocations: 0 / 448.7 MB, free: 30.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2417, allocations: 2.906 kB / 448.7 MB, free: 30.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2418, allocations: 0 / 448.7 MB, free: 30.89 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.000546/0.2423, allocations: 0.625 MB / 449.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2423, allocations: 8.375 kB / 449.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.177e-05/0.2424, allocations: 101.9 kB / 449.5 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.2425, allocations: 63.86 kB / 449.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2428, allocations: 317.2 kB / 449.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2428, allocations: 48.62 kB / 449.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.2428, allocations: 50.16 kB / 449.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.2434, allocations: 495.2 kB / 450.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2434, allocations: 2.812 kB / 450.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2434, allocations: 18.81 kB / 450.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2434, allocations: 23.42 kB / 450.5 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.2438, allocations: 270.1 kB / 450.7 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2451, allocations: 1.649 MB / 452.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.2453, allocations: 196.6 kB / 452.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.2455, allocations: 92.77 kB / 452.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.2455, allocations: 2.219 kB / 452.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2455, allocations: 36.75 kB / 452.7 MB, free: 28.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.173e-06/0.2455, allocations: 0 / 452.7 MB, free: 28.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003448/0.2459, allocations: 251.7 kB / 452.9 MB, free: 28.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.2459, allocations: 58.16 kB / 453 MB, free: 28.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2461, allocations: 260.1 kB / 453.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2461, allocations: 25.7 kB / 453.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.2462, allocations: 260.2 kB / 453.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2462, allocations: 82.59 kB / 453.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.2462, allocations: 4 kB / 453.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.2463, allocations: 331 kB / 453.9 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.2464, allocations: 64.59 kB / 454 MB, free: 27.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/0.2465, allocations: 119.5 kB / 454.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.2466, allocations: 79 kB / 454.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2466, allocations: 0 / 454.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002622/0.2469, allocations: 251.5 kB / 454.4 MB, free: 26.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2469, allocations: 5.219 kB / 454.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2469, allocations: 3.125 kB / 454.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2469, allocations: 6.094 kB / 454.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2471, allocations: 42.73 kB / 454.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2471, allocations: 3 kB / 454.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.2472, allocations: 21.34 kB / 454.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2472, allocations: 5.906 kB / 454.5 MB, free: 26.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001035/0.2473, allocations: 158.8 kB / 454.7 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.2473, allocations: 27.02 kB / 454.7 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.2474, allocations: 33.83 kB / 454.7 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2474, allocations: 0 / 454.7 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2474, allocations: 2.938 kB / 454.7 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2474, allocations: 7.359 kB / 454.8 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.248, allocations: 0.6679 MB / 455.4 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.248, allocations: 3.953 kB / 455.4 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.2481, allocations: 32.92 kB / 455.5 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2481, allocations: 2.625 kB / 455.5 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2482, allocations: 4 kB / 455.5 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2482, allocations: 10.53 kB / 455.5 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2482, allocations: 3.938 kB / 455.5 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.2485, allocations: 365.6 kB / 455.8 MB, free: 26.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.2486, allocations: 108.4 kB / 455.9 MB, free: 25.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2486, allocations: 6.531 kB / 455.9 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.2487, allocations: 8 kB / 456 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.2487, allocations: 8.562 kB / 456 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2487, allocations: 5.156 kB / 456 MB, free: 25.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2488, allocations: 183 kB / 456.1 MB, free: 25.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2488, allocations: 0 / 456.1 MB, free: 25.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.2491, allocations: 82.66 kB / 456.2 MB, free: 25.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004328/0.2496, allocations: 0.9041 MB / 457.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2498, allocations: 168.3 kB / 457.3 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2498, allocations: 0 / 457.3 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.2499, allocations: 80.03 kB / 457.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2502, allocations: 38.59 kB / 457.4 MB, free: 24.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2519, allocations: 1.755 MB / 459.2 MB, free: 23.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2521, allocations: 0.8133 MB / 460 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.104e-05/0.2522, allocations: 19.39 kB / 460 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2523, allocations: 137.4 kB / 460.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2523, allocations: 0 / 460.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.2665, allocations: 4.382 MB / 464.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001187/0.2666, allocations: 175.7 kB / 464.7 MB, free: 22.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.799, allocations: 8 kB / 464.7 MB, free: 22.31 MB / 350.1 MB (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) Environment - environmentSimulation: