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.0009994/0.0009994, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002472, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001105/0.001105, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002626, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9004/0.9004, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07684/0.9773, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1096/0.1096, allocations: 21.81 MB / 265.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01114/0.1207, allocations: 7.851 MB / 273.8 MB, free: 1.027 MB / 266.7 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 275.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.3e-05, allocations: 2.312 kB / 275.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003208/0.003221, allocations: 1.917 MB / 277 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004274, allocations: 342.9 kB / 277.3 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.00456, allocations: 11.03 kB / 277.3 MB, free: 468 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.004744, allocations: 65.44 kB / 277.4 MB, free: 420 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004871, allocations: 32.5 kB / 277.4 MB, free: 388 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.005214, allocations: 158.3 kB / 277.6 MB, free: 296 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.005707, allocations: 386.8 kB / 278 MB, free: 100 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.006189, allocations: 271.2 kB / 278.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.006523, allocations: 254.8 kB / 278.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.006715, allocations: 127.8 kB / 278.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.006799, allocations: 44.97 kB / 278.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.006854, allocations: 42.88 kB / 278.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.00694, allocations: 78.88 kB / 278.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.007058, allocations: 102.5 kB / 278.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.007481, allocations: 276.7 kB / 279.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.007496, allocations: 0 / 279.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007497, allocations: 0.9062 kB / 279.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.007517, allocations: 0 / 279.1 MB, free: 15.58 MB / 282.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.001018/0.008535, allocations: 0.7085 MB / 279.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.008575, allocations: 13.31 kB / 279.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.008717, allocations: 79.47 kB / 279.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.009051, allocations: 226.5 kB / 280.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.009089, allocations: 41.62 kB / 280.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.009161, allocations: 50.97 kB / 280.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.009731, allocations: 379.3 kB / 280.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.009751, allocations: 5.312 kB / 280.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.009783, allocations: 21.06 kB / 280.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.009802, allocations: 18 kB / 280.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.01004, allocations: 129.5 kB / 280.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.01162, allocations: 1.211 MB / 282 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.0119, allocations: 114.2 kB / 282.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.01197, allocations: 38.8 kB / 282.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.01198, allocations: 4.156 kB / 282.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.01202, allocations: 47.62 kB / 282.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.01202, allocations: 0 / 282.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002915/0.01231, allocations: 126.1 kB / 282.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.01235, allocations: 54.67 kB / 282.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.01255, allocations: 202.8 kB / 282.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01257, allocations: 30.7 kB / 282.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.01276, allocations: 254.5 kB / 282.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.01282, allocations: 73.64 kB / 282.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.0129, allocations: 49.2 kB / 283 MB, free: 13.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.013, allocations: 340.2 kB / 283.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.01305, allocations: 23.47 kB / 283.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.01314, allocations: 80.44 kB / 283.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.0133, allocations: 121.8 kB / 283.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0133, allocations: 1.188 kB / 283.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002243/0.01352, allocations: 149.5 kB / 283.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01354, allocations: 7.875 kB / 283.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01355, allocations: 5.297 kB / 283.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01356, allocations: 2.375 kB / 283.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.01373, allocations: 48.22 kB / 283.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01374, allocations: 3.359 kB / 283.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.01381, allocations: 17.08 kB / 283.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01382, allocations: 8.062 kB / 283.8 MB, free: 12.53 MB / 282.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 (Prey_1.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Predator.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.000109/0.01393, allocations: 126.6 kB / 283.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.01398, allocations: 28.31 kB / 283.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.01403, allocations: 28.42 kB / 283.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01403, allocations: 2.438 kB / 283.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01404, allocations: 1.438 kB / 283.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01404, allocations: 2.906 kB / 283.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.01451, allocations: 369.4 kB / 284.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01452, allocations: 0 / 284.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01467, allocations: 38.16 kB / 284.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.01469, allocations: 18.48 kB / 284.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.0147, allocations: 0.9688 kB / 284.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.01471, allocations: 1.688 kB / 284.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01472, allocations: 5.125 kB / 284.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01472, allocations: 0.5156 kB / 284.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.01499, allocations: 247.9 kB / 284.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.01501, allocations: 2.594 kB / 284.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.01509, allocations: 5.875 kB / 284.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.01512, allocations: 9.734 kB / 284.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01513, allocations: 6.406 kB / 284.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.01521, allocations: 61.89 kB / 284.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01521, allocations: 0 / 284.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.01551, allocations: 89.77 kB / 284.8 MB, free: 11.89 MB / 282.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 () * 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 8.89e-05/0.0156, allocations: 86.81 kB / 284.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.01577, allocations: 101.6 kB / 285 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.01579, allocations: 7.828 kB / 285 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.01588, allocations: 60.39 kB / 285 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.01619, allocations: 140.5 kB / 285.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.01714, allocations: 0.7479 MB / 285.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.855e-05/0.01723, allocations: 120.8 kB / 286 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.758e-05/0.01731, allocations: 19.38 kB / 286.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.01741, allocations: 71.3 kB / 286.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01741, allocations: 0 / 286.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Templates: time 0.004424/0.02184, allocations: 1.5 MB / 287.6 MB, free: 10.75 MB / 282.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5096022617071867]