Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.00144, allocations: 177.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 213.4 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 90.59 kB / 261.4 MB, free: 13.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.2318/0.2318, allocations: 28.84 MB / 338.2 MB, free: 0.4922 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.052e-05, allocations: 0 / 399 MB, free: 56.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.09989, allocations: 54.65 MB / 453.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.5957, allocations: 77.74 MB / 0.519 GB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.596, allocations: 58.42 kB / 0.519 GB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.6177, allocations: 5.647 MB / 0.5246 GB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6178, allocations: 0 / 0.5246 GB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.6178, allocations: 12 kB / 0.5246 GB, free: 12.7 MB / 362.7 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.001089/0.6189, allocations: 0.6207 MB / 0.5252 GB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.619, allocations: 8.031 kB / 0.5252 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.6191, allocations: 55.34 kB / 0.5252 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.6196, allocations: 303.3 kB / 0.5255 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.6197, allocations: 20 kB / 0.5255 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.6198, allocations: 31.95 kB / 0.5256 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006391/0.6204, allocations: 233.9 kB / 0.5258 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.6213, allocations: 395.2 kB / 0.5262 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6214, allocations: 1.312 kB / 0.5262 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.6214, allocations: 3.984 kB / 0.5262 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.6215, allocations: 16 kB / 0.5262 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.6242, allocations: 1.53 MB / 0.5277 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.6247, allocations: 186.6 kB / 0.5279 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.6249, allocations: 72.86 kB / 0.5279 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.6249, allocations: 1.594 kB / 0.5279 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.625, allocations: 42.5 kB / 0.528 GB, free: 9.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.555e-06/0.625, allocations: 0 / 0.528 GB, free: 9.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004785/0.6255, allocations: 173.2 kB / 0.5281 GB, free: 9.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6255, allocations: 55.41 kB / 0.5282 GB, free: 9.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.6258, allocations: 179 kB / 0.5284 GB, free: 8.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.6258, allocations: 25.7 kB / 0.5284 GB, free: 8.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.626, allocations: 267.4 kB / 0.5286 GB, free: 8.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.6261, allocations: 66.95 kB / 0.5287 GB, free: 8.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.6262, allocations: 0 / 0.5287 GB, free: 8.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6263, allocations: 330.8 kB / 0.529 GB, free: 8.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.6265, allocations: 56.5 kB / 0.5291 GB, free: 8.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.6268, allocations: 118 kB / 0.5292 GB, free: 8.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.627, allocations: 67.92 kB / 0.5293 GB, free: 7.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.627, allocations: 7.984 kB / 0.5293 GB, free: 7.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004996/0.6275, allocations: 213.1 kB / 0.5295 GB, free: 7.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6275, allocations: 8 kB / 0.5295 GB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6276, allocations: 3.938 kB / 0.5295 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6276, allocations: 4 kB / 0.5295 GB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.6279, allocations: 47.91 kB / 0.5295 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.628, allocations: 7.984 kB / 0.5295 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.6281, allocations: 11.84 kB / 0.5295 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.6281, allocations: 8.188 kB / 0.5295 GB, free: 7.664 MB / 362.7 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 () * 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.0001118/0.6283, allocations: 108.9 kB / 0.5297 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.6283, allocations: 27.67 kB / 0.5297 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.439e-05/0.6284, allocations: 29.95 kB / 0.5297 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6285, allocations: 0 / 0.5297 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6285, allocations: 0 / 0.5297 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6285, allocations: 4 kB / 0.5297 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6295, allocations: 0.5692 MB / 0.5303 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6296, allocations: 4 kB / 0.5303 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.6299, allocations: 35.92 kB / 0.5303 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6299, allocations: 0 / 0.5303 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.63, allocations: 7.953 kB / 0.5303 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.63, allocations: 4 kB / 0.5303 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.63, allocations: 0 / 0.5303 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.6307, allocations: 347.3 kB / 0.5306 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.6308, allocations: 92.83 kB / 0.5307 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.6308, allocations: 0 / 0.5307 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.631, allocations: 7.953 kB / 0.5307 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.631, allocations: 12.03 kB / 0.5308 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.6311, allocations: 11.94 kB / 0.5308 GB, free: 6.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.6313, allocations: 137.9 kB / 0.5309 GB, free: 6.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6313, allocations: 0 / 0.5309 GB, free: 6.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.6318, allocations: 79.38 kB / 0.531 GB, free: 6.125 MB / 362.7 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 () * 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.0001511/0.6319, allocations: 91.25 kB / 0.5311 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.6324, allocations: 160.6 kB / 0.5312 GB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6324, allocations: 4 kB / 0.5312 GB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.6326, allocations: 79.89 kB / 0.5313 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.633, allocations: 24.61 kB / 0.5313 GB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.6343, allocations: 470.3 kB / 0.5318 GB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.6349, allocations: 0.8218 MB / 0.5326 GB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.635, allocations: 17.8 kB / 0.5326 GB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.6351, allocations: 15.44 kB / 0.5326 GB, free: 4.395 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6351, allocations: 0 / 0.5326 GB, free: 4.395 MB / 362.7 MB Notification: Performance of Templates: time 0.006557/0.6417, allocations: 1.314 MB / 0.5339 GB, free: 3.082 MB / 362.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (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)