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.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.001535/0.001535, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001658/0.001658, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.36/1.36, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.1801/0.1801, allocations: 21.81 MB / 281.6 MB, free: 10.79 MB / 270.1 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: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 68.17 kB / 418.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1256, allocations: 60.74 MB / 479.5 MB, free: 1.867 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003366/0.129, allocations: 1.84 MB / 481.3 MB, free: 24 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2017/0.3307, allocations: 301.9 kB / 481.6 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3309, allocations: 9.281 kB / 481.6 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3311, allocations: 68.75 kB / 481.7 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3312, allocations: 31.94 kB / 481.7 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3315, allocations: 159.2 kB / 481.9 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3317, allocations: 403.8 kB / 482.2 MB, free: 42.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.332, allocations: 251.8 kB / 482.5 MB, free: 42.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.3321, allocations: 161.5 kB / 482.6 MB, free: 42.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3323, allocations: 157.8 kB / 482.8 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.3323, allocations: 47.84 kB / 482.8 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.3324, allocations: 44.91 kB / 482.9 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.3324, allocations: 102.4 kB / 483 MB, free: 42.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.3325, allocations: 168 kB / 483.2 MB, free: 42.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3329, allocations: 440.9 kB / 483.6 MB, free: 42.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3329, allocations: 1.375 kB / 483.6 MB, free: 42.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3329, allocations: 0 / 483.6 MB, free: 42.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.3329, allocations: 0 / 483.6 MB, free: 42.59 MB / 446.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.0006273/0.3335, allocations: 0.6544 MB / 484.2 MB, free: 42.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.3335, allocations: 9.406 kB / 484.3 MB, free: 42.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3336, allocations: 53.64 kB / 484.3 MB, free: 42.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3339, allocations: 271 kB / 484.6 MB, free: 41.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.334, allocations: 40.16 kB / 484.6 MB, free: 41.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.334, allocations: 62.22 kB / 484.7 MB, free: 41.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3345, allocations: 494.8 kB / 485.2 MB, free: 41.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3345, allocations: 192 / 485.2 MB, free: 41.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.3346, allocations: 26.44 kB / 485.2 MB, free: 41.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3346, allocations: 12.81 kB / 485.2 MB, free: 41.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.3349, allocations: 271.7 kB / 485.5 MB, free: 41.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.336, allocations: 1.395 MB / 486.9 MB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3363, allocations: 177.5 kB / 487 MB, free: 40.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/0.3364, allocations: 79.05 kB / 487.1 MB, free: 40.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3364, allocations: 3.156 kB / 487.1 MB, free: 40.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.3364, allocations: 37.75 kB / 487.1 MB, free: 40.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.3364, allocations: 0 / 487.1 MB, free: 40.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003334/0.3368, allocations: 251.3 kB / 487.4 MB, free: 40.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3368, allocations: 55.59 kB / 487.4 MB, free: 40.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3369, allocations: 211.8 kB / 487.6 MB, free: 39.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3369, allocations: 29.7 kB / 487.7 MB, free: 39.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.337, allocations: 265.5 kB / 487.9 MB, free: 39.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3371, allocations: 79.38 kB / 488 MB, free: 39.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.3371, allocations: 47.5 kB / 488.1 MB, free: 39.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.3372, allocations: 335.8 kB / 488.4 MB, free: 39.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.3372, allocations: 65.61 kB / 488.5 MB, free: 39.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.3373, allocations: 115.4 kB / 488.6 MB, free: 39.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3375, allocations: 194.6 kB / 488.8 MB, free: 39.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3375, allocations: 0 / 488.8 MB, free: 39.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002552/0.3378, allocations: 243.6 kB / 489 MB, free: 38.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3378, allocations: 11.66 kB / 489 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3378, allocations: 3.156 kB / 489 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3378, allocations: 3.344 kB / 489 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.338, allocations: 42.72 kB / 489.1 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.338, allocations: 3.469 kB / 489.1 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.3381, allocations: 19.22 kB / 489.1 MB, free: 38.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3381, allocations: 6.562 kB / 489.1 MB, free: 38.95 MB / 446.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 9.873e-05/0.3382, allocations: 161.8 kB / 489.2 MB, free: 38.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.3382, allocations: 20.14 kB / 489.3 MB, free: 38.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.3382, allocations: 31.14 kB / 489.3 MB, free: 38.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3382, allocations: 13.83 kB / 489.3 MB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3383, allocations: 0 / 489.3 MB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3383, allocations: 0 / 489.3 MB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3387, allocations: 0.5484 MB / 489.9 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3387, allocations: 0 / 489.9 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3389, allocations: 33.44 kB / 489.9 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3389, allocations: 0 / 489.9 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3389, allocations: 3.938 kB / 489.9 MB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3389, allocations: 3.281 kB / 489.9 MB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3389, allocations: 1.688 kB / 489.9 MB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.3392, allocations: 364.5 kB / 490.2 MB, free: 38.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3392, allocations: 26.08 kB / 490.3 MB, free: 38.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3392, allocations: 4 kB / 490.3 MB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.3393, allocations: 8.969 kB / 490.3 MB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.3394, allocations: 13.8 kB / 490.3 MB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.3394, allocations: 2.938 kB / 490.3 MB, free: 38.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.3394, allocations: 160.3 kB / 490.5 MB, free: 38.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3394, allocations: 0 / 490.5 MB, free: 38.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3397, allocations: 78.69 kB / 490.5 MB, free: 37.98 MB / 446.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 6.382e-05/0.3398, allocations: 95.69 kB / 490.6 MB, free: 37.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.34, allocations: 168.8 kB / 490.8 MB, free: 37.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.34, allocations: 3.25 kB / 490.8 MB, free: 37.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.3401, allocations: 73.42 kB / 490.9 MB, free: 37.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3404, allocations: 37.78 kB / 490.9 MB, free: 37.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.3411, allocations: 0.646 MB / 491.6 MB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3413, allocations: 211.9 kB / 491.8 MB, free: 37.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.3414, allocations: 13.81 kB / 491.8 MB, free: 37.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.3414, allocations: 20.53 kB / 491.8 MB, free: 37.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3414, allocations: 0 / 491.8 MB, free: 37.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004595/0.346, allocations: 1.353 MB / 493.1 MB, free: 37.1 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (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 & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6778093609027565] Failed to read output from testmodel.py, exit status != 0: 0.353866487974301 0.361939683 0.026923478 Calling exit ...