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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2173/0.2173, allocations: 29.22 MB / 334.2 MB, free: 376 kB / 254.1 MB [Timeout remaining time 90] 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: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.92 kB / 468.4 MB, free: 35.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1246, allocations: 59.56 MB / 0.5156 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.004277/0.1289, allocations: 2.105 MB / 0.5176 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.13, allocations: 311 kB / 0.5179 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.1304, allocations: 8 kB / 0.5179 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1307, allocations: 67.19 kB / 0.518 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.131, allocations: 39.56 kB / 0.518 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1315, allocations: 155.8 kB / 0.5182 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.1322, allocations: 404.5 kB / 0.5186 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.1328, allocations: 286.2 kB / 0.5188 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.133, allocations: 151.3 kB / 0.519 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1332, allocations: 187 kB / 0.5191 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.1333, allocations: 44 kB / 0.5192 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.1334, allocations: 51.88 kB / 0.5192 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1335, allocations: 99.69 kB / 0.5193 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1337, allocations: 214.7 kB / 0.5195 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.1343, allocations: 437.8 kB / 0.52 GB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1343, allocations: 4 kB / 0.52 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1343, allocations: 0 / 0.52 GB, free: 8.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.1343, allocations: 0 / 0.52 GB, free: 8.793 MB / 382.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.001212/0.1356, allocations: 0.725 MB / 0.5207 GB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1356, allocations: 16.03 kB / 0.5207 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1357, allocations: 56.56 kB / 0.5207 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.1363, allocations: 336.3 kB / 0.5211 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.1364, allocations: 41.69 kB / 0.5211 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.1364, allocations: 52.38 kB / 0.5211 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.1373, allocations: 495.6 kB / 0.5216 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1373, allocations: 4.172 kB / 0.5216 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.1373, allocations: 23.94 kB / 0.5216 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1374, allocations: 16 kB / 0.5217 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.1379, allocations: 273.1 kB / 0.5219 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1401, allocations: 1.62 MB / 0.5235 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.1405, allocations: 194.6 kB / 0.5237 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1407, allocations: 84.84 kB / 0.5238 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1407, allocations: 0 / 0.5238 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1407, allocations: 34.56 kB / 0.5238 GB, free: 4.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.1407, allocations: 0 / 0.5238 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005072/0.1412, allocations: 255.8 kB / 0.524 GB, free: 4.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1413, allocations: 59.39 kB / 0.5241 GB, free: 4.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.1415, allocations: 254.7 kB / 0.5243 GB, free: 4.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1416, allocations: 29.7 kB / 0.5244 GB, free: 4.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.1418, allocations: 268.2 kB / 0.5246 GB, free: 3.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.1418, allocations: 71.33 kB / 0.5247 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.1419, allocations: 53.7 kB / 0.5248 GB, free: 3.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1421, allocations: 338.8 kB / 0.5251 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1422, allocations: 63.97 kB / 0.5251 GB, free: 3.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1424, allocations: 118 kB / 0.5252 GB, free: 3.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.1426, allocations: 197.1 kB / 0.5254 GB, free: 2.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1426, allocations: 0 / 0.5254 GB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003777/0.143, allocations: 249.2 kB / 0.5257 GB, free: 2.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.143, allocations: 4 kB / 0.5257 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.143, allocations: 0 / 0.5257 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1431, allocations: 4.188 kB / 0.5257 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1433, allocations: 47.92 kB / 0.5257 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1433, allocations: 3.984 kB / 0.5257 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1434, allocations: 31.72 kB / 0.5258 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1434, allocations: 8 kB / 0.5258 GB, free: 2.527 MB / 382.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.0001705/0.1436, allocations: 153.7 kB / 0.5259 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.1436, allocations: 27.81 kB / 0.5259 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.1437, allocations: 30.17 kB / 0.526 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1437, allocations: 4 kB / 0.526 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1437, allocations: 7.938 kB / 0.526 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1437, allocations: 7.922 kB / 0.526 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.1446, allocations: 0.672 MB / 0.5266 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1446, allocations: 0 / 0.5266 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.1448, allocations: 31.98 kB / 0.5267 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1448, allocations: 7.938 kB / 0.5267 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1448, allocations: 0 / 0.5267 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1448, allocations: 3.938 kB / 0.5267 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1448, allocations: 0 / 0.5267 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.1453, allocations: 375.3 kB / 0.527 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.1454, allocations: 109 kB / 0.5271 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1454, allocations: 7.984 kB / 0.5272 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.1455, allocations: 3.938 kB / 0.5272 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1455, allocations: 15.98 kB / 0.5272 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1456, allocations: 8 kB / 0.5272 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1457, allocations: 182 kB / 0.5274 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1457, allocations: 0 / 0.5274 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.1461, allocations: 87.56 kB / 0.5274 GB, free: 0.7109 MB / 382.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.0001422/0.1462, allocations: 107.1 kB / 0.5275 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.1466, allocations: 158.4 kB / 0.5277 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1466, allocations: 0 / 0.5277 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1467, allocations: 75.92 kB / 0.5278 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1471, allocations: 36.88 kB / 0.5278 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1484, allocations: 0.6821 MB / 0.5285 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1489, allocations: 0.8102 MB / 0.5293 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.1489, allocations: 23.44 kB / 0.5293 GB, free: 14.76 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1489, allocations: 0 / 0.5293 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Templates: time 0.006403/0.1553, allocations: 3.422 MB / 0.5326 GB, free: 11.33 MB / 398.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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480]