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.001314/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001687/0.001688, allocations: 192.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3121/0.3121, allocations: 28.79 MB / 318.7 MB, free: 5.973 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.84 kB / 386 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.324, allocations: 56.41 MB / 442.4 MB, free: 39.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002739/0.3268, allocations: 2.134 MB / 444.6 MB, free: 38.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.3273, allocations: 299.7 kB / 444.9 MB, free: 38.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3275, allocations: 8.531 kB / 444.9 MB, free: 38.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3277, allocations: 43.03 kB / 444.9 MB, free: 37.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.3278, allocations: 18.14 kB / 444.9 MB, free: 37.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.3281, allocations: 133.8 kB / 445.1 MB, free: 37.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.3284, allocations: 374.2 kB / 445.4 MB, free: 37.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.3288, allocations: 340.5 kB / 445.8 MB, free: 37.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.3288, allocations: 135 kB / 445.9 MB, free: 37.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.329, allocations: 185.2 kB / 446.1 MB, free: 37.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.329, allocations: 25.66 kB / 446.1 MB, free: 37.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.3291, allocations: 28.97 kB / 446.1 MB, free: 37.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.3291, allocations: 85.5 kB / 446.2 MB, free: 37.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3292, allocations: 194.5 kB / 446.4 MB, free: 37.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3295, allocations: 390.9 kB / 446.8 MB, free: 37.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3295, allocations: 0 / 446.8 MB, free: 37.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3295, allocations: 0 / 446.8 MB, free: 37.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.3295, allocations: 0 / 446.8 MB, free: 37.56 MB / 366.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.0007449/0.3303, allocations: 0.711 MB / 447.5 MB, free: 37.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3303, allocations: 8.688 kB / 447.5 MB, free: 37.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.3304, allocations: 102.3 kB / 447.6 MB, free: 37.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3305, allocations: 59.94 kB / 447.7 MB, free: 37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3308, allocations: 318.9 kB / 448 MB, free: 36.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3308, allocations: 48.69 kB / 448 MB, free: 36.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.3309, allocations: 50.72 kB / 448.1 MB, free: 36.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.3314, allocations: 0.489 MB / 448.6 MB, free: 36.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3315, allocations: 6.844 kB / 448.6 MB, free: 36.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3315, allocations: 20.06 kB / 448.6 MB, free: 36.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3315, allocations: 15.06 kB / 448.6 MB, free: 36.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.3319, allocations: 279.8 kB / 448.9 MB, free: 36.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3334, allocations: 1.654 MB / 450.5 MB, free: 35.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3337, allocations: 199.7 kB / 450.7 MB, free: 35.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3339, allocations: 83.45 kB / 450.8 MB, free: 35.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3339, allocations: 2.844 kB / 450.8 MB, free: 35.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.3339, allocations: 34.56 kB / 450.8 MB, free: 35.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.3339, allocations: 0 / 450.8 MB, free: 35.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003929/0.3343, allocations: 250.7 kB / 451.1 MB, free: 35.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.3343, allocations: 62.38 kB / 451.1 MB, free: 35.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3346, allocations: 260.3 kB / 451.4 MB, free: 35.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3346, allocations: 25.7 kB / 451.4 MB, free: 35.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3347, allocations: 262.3 kB / 451.7 MB, free: 34.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3347, allocations: 73.95 kB / 451.7 MB, free: 34.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3348, allocations: 47.42 kB / 451.8 MB, free: 34.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.3349, allocations: 331.3 kB / 452.1 MB, free: 34.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.335, allocations: 69.86 kB / 452.2 MB, free: 34.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3351, allocations: 123.8 kB / 452.3 MB, free: 34.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.3353, allocations: 200.3 kB / 452.5 MB, free: 34.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3353, allocations: 0 / 452.5 MB, free: 34.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002964/0.3356, allocations: 250.6 kB / 452.7 MB, free: 34.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3357, allocations: 5.375 kB / 452.8 MB, free: 34.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3357, allocations: 3.422 kB / 452.8 MB, free: 34.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3357, allocations: 2.781 kB / 452.8 MB, free: 34.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.3359, allocations: 51.36 kB / 452.8 MB, free: 34.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3359, allocations: 2.438 kB / 452.8 MB, free: 34.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.336, allocations: 25.16 kB / 452.8 MB, free: 34.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.336, allocations: 16.09 kB / 452.8 MB, free: 34.05 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.3361, allocations: 146.4 kB / 453 MB, free: 33.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.3362, allocations: 22.62 kB / 453 MB, free: 33.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.3362, allocations: 31.17 kB / 453 MB, free: 33.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3362, allocations: 9.781 kB / 453.1 MB, free: 33.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3363, allocations: 0 / 453.1 MB, free: 33.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3363, allocations: 6.594 kB / 453.1 MB, free: 33.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.3369, allocations: 0.6749 MB / 453.7 MB, free: 33.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3369, allocations: 2.812 kB / 453.7 MB, free: 33.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.3371, allocations: 30.36 kB / 453.8 MB, free: 33.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3371, allocations: 6.812 kB / 453.8 MB, free: 33.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3371, allocations: 4 kB / 453.8 MB, free: 33.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3371, allocations: 2.812 kB / 453.8 MB, free: 33.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3371, allocations: 0 / 453.8 MB, free: 33.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.3375, allocations: 376.1 kB / 454.1 MB, free: 33.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3376, allocations: 109.5 kB / 454.3 MB, free: 33.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3376, allocations: 2.594 kB / 454.3 MB, free: 33.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.3377, allocations: 4 kB / 454.3 MB, free: 33.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3377, allocations: 9 kB / 454.3 MB, free: 33.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3378, allocations: 9.625 kB / 454.3 MB, free: 33.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3379, allocations: 183.4 kB / 454.5 MB, free: 32.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3379, allocations: 0 / 454.5 MB, free: 32.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.3382, allocations: 87.47 kB / 454.5 MB, free: 32.88 MB / 366.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 (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.0005553/0.3388, allocations: 0.8976 MB / 455.4 MB, free: 32.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.339, allocations: 174.8 kB / 455.6 MB, free: 32.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.339, allocations: 4.312 kB / 455.6 MB, free: 32.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.3391, allocations: 85.06 kB / 455.7 MB, free: 32.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3396, allocations: 37.88 kB / 455.7 MB, free: 32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.3423, allocations: 3.021 MB / 458.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3425, allocations: 0.8068 MB / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.357e-05/0.3426, allocations: 25.06 kB / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3427, allocations: 136.1 kB / 459.7 MB, free: 29.03 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3427, allocations: 0 / 459.7 MB, free: 29.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.3555, allocations: 4.545 MB / 464.3 MB, free: 28.51 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.3557, allocations: 191.3 kB / 464.5 MB, free: 28.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.049, allocations: 0 / 464.5 MB, free: 28.25 MB / 366.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/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)