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.001222/0.001222, allocations: 116.8 kB / 17.17 MB, free: 6 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.00129/0.00129, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2034/0.2034, allocations: 29.22 MB / 338.8 MB, free: 11.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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="cs",version="2.0",platforms={"static"}) [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.00194/0.00194, allocations: 64.62 kB / 473.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1294, allocations: 60.75 MB / 0.5221 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.00364/0.133, allocations: 2.102 MB / 0.5242 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000676/0.1337, allocations: 311.1 kB / 0.5245 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1339, allocations: 7.938 kB / 0.5245 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1341, allocations: 63.23 kB / 0.5245 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1343, allocations: 43.5 kB / 0.5246 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1346, allocations: 159.8 kB / 0.5247 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.135, allocations: 388.6 kB / 0.5251 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.1355, allocations: 278.5 kB / 0.5253 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1356, allocations: 159.3 kB / 0.5255 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1358, allocations: 190.9 kB / 0.5257 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1359, allocations: 44 kB / 0.5257 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.1359, allocations: 47.94 kB / 0.5258 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.136, allocations: 107.6 kB / 0.5259 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1362, allocations: 210.8 kB / 0.5261 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.1367, allocations: 433.8 kB / 0.5265 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1367, allocations: 0 / 0.5265 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1367, allocations: 0 / 0.5265 GB, free: 280 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1367, allocations: 3.938 kB / 0.5265 GB, free: 276 kB / 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.001021/0.1378, allocations: 0.7212 MB / 0.5272 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1378, allocations: 8.031 kB / 0.5272 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.03e-05/0.1379, allocations: 25.48 kB / 0.5272 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.138, allocations: 99.89 kB / 0.5273 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.1381, allocations: 64.55 kB / 0.5274 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.1385, allocations: 324.5 kB / 0.5277 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.1386, allocations: 45.69 kB / 0.5277 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.1387, allocations: 56.38 kB / 0.5278 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.1395, allocations: 0.5033 MB / 0.5283 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1395, allocations: 0 / 0.5283 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1395, allocations: 24 kB / 0.5283 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1395, allocations: 16 kB / 0.5283 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.14, allocations: 289 kB / 0.5286 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.142, allocations: 1.627 MB / 0.5302 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1423, allocations: 188.3 kB / 0.5304 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1425, allocations: 88.83 kB / 0.5304 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1425, allocations: 7.938 kB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1425, allocations: 34.56 kB / 0.5305 GB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.263e-06/0.1425, allocations: 0 / 0.5305 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.001232/0.1438, allocations: 0.7715 MB / 0.5312 GB, free: 11.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1438, allocations: 55.41 kB / 0.5313 GB, free: 11.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1441, allocations: 258.7 kB / 0.5315 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1441, allocations: 29.7 kB / 0.5316 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1443, allocations: 276.2 kB / 0.5318 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1444, allocations: 103.1 kB / 0.5319 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1445, allocations: 57.7 kB / 0.532 GB, free: 10.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1447, allocations: 346.8 kB / 0.5323 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1449, allocations: 71.92 kB / 0.5324 GB, free: 9.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.145, allocations: 126 kB / 0.5325 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.1453, allocations: 222.4 kB / 0.5327 GB, free: 9.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1453, allocations: 0 / 0.5327 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004061/0.1457, allocations: 293.2 kB / 0.533 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1458, allocations: 4 kB / 0.533 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1458, allocations: 0 / 0.533 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1458, allocations: 7.938 kB / 0.533 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.146, allocations: 63.91 kB / 0.5331 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.146, allocations: 4 kB / 0.5331 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.1461, allocations: 4 kB / 0.5331 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1462, allocations: 12 kB / 0.5331 GB, free: 9.137 MB / 398.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 (38): * Single equations (assignments): 38 * 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.0001624/0.1463, allocations: 162 kB / 0.5332 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1464, allocations: 27.81 kB / 0.5333 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.1465, allocations: 38.95 kB / 0.5333 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1465, allocations: 3.938 kB / 0.5333 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1465, allocations: 4 kB / 0.5333 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1465, allocations: 0 / 0.5333 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1475, allocations: 0.782 MB / 0.5341 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.1475, allocations: 7.984 kB / 0.5341 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1478, allocations: 47.92 kB / 0.5341 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1478, allocations: 0 / 0.5341 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1478, allocations: 8 kB / 0.5341 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1478, allocations: 0 / 0.5341 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1478, allocations: 4 kB / 0.5341 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1484, allocations: 457.8 kB / 0.5346 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.1484, allocations: 101 kB / 0.5347 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1485, allocations: 8 kB / 0.5347 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1486, allocations: 4 kB / 0.5347 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1486, allocations: 23.84 kB / 0.5347 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.1486, allocations: 12 kB / 0.5347 GB, free: 7.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1488, allocations: 182 kB / 0.5349 GB, free: 7.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1488, allocations: 0 / 0.5349 GB, free: 7.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1491, allocations: 59.94 kB / 0.535 GB, free: 7.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 ($outputAlias_x1,$outputAlias_x2,$outputAlias_x3) * 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 (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 Backend phase and start with SimCode phase: time 0.0009461/0.1501, allocations: 0.9812 MB / 0.5359 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1504, allocations: 195.8 kB / 0.5361 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1504, allocations: 0 / 0.5361 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1506, allocations: 99.84 kB / 0.5362 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.151, allocations: 37.38 kB / 0.5362 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.1545, allocations: 2.985 MB / 0.5391 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.1549, allocations: 0.8258 MB / 0.54 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.155, allocations: 30.28 kB / 0.54 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.1553, allocations: 143.4 kB / 0.5401 GB, free: 1.617 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1553, allocations: 0 / 0.5401 GB, free: 1.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1793, allocations: 5.239 MB / 0.5452 GB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.233, allocations: 19.03 kB / 0.5453 GB, free: 12.45 MB / 414.1 MB " [Timeout remaining time 652] (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 --stepSize=2 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.019541952991858] Failed to read output from testmodel.py, exit status != 0: 8.35336729499977 8.366499577999999 8.227129023 Calling exit ...