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.001778/0.001778, allocations: 106 kB / 16.45 MB, free: 6.449 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.002094/0.002094, allocations: 212 kB / 19.43 MB, free: 3.637 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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.1798/0.1798, allocations: 29.22 MB / 338.1 MB, free: 6.973 MB / 270.1 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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",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.002719/0.002719, allocations: 63.91 kB / 473.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.335, allocations: 60.76 MB / 0.5214 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002939/0.338, allocations: 2.097 MB / 0.5235 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.3386, allocations: 308 kB / 0.5238 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3388, allocations: 10.62 kB / 0.5238 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.339, allocations: 65.3 kB / 0.5238 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/0.3391, allocations: 38.36 kB / 0.5239 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.3394, allocations: 154.8 kB / 0.524 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.3398, allocations: 395.2 kB / 0.5244 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.3402, allocations: 276.7 kB / 0.5247 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3403, allocations: 153.7 kB / 0.5248 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3405, allocations: 191.2 kB / 0.525 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.3405, allocations: 43.66 kB / 0.525 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.3406, allocations: 48.59 kB / 0.5251 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.3407, allocations: 106.1 kB / 0.5252 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3408, allocations: 206 kB / 0.5254 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.3412, allocations: 443.3 kB / 0.5258 GB, free: 4.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3412, allocations: 0 / 0.5258 GB, free: 4.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3412, allocations: 0 / 0.5258 GB, free: 4.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3412, allocations: 1.094 kB / 0.5258 GB, free: 4.949 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.0007682/0.342, allocations: 0.7206 MB / 0.5265 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.342, allocations: 9.469 kB / 0.5265 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.3422, allocations: 104.6 kB / 0.5266 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.3423, allocations: 59.84 kB / 0.5267 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3426, allocations: 323.6 kB / 0.527 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.3427, allocations: 44.78 kB / 0.527 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.3428, allocations: 56.06 kB / 0.5271 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.3435, allocations: 498.8 kB / 0.5275 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3435, allocations: 5.188 kB / 0.5275 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.3436, allocations: 25.28 kB / 0.5276 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3436, allocations: 17.34 kB / 0.5276 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.344, allocations: 278.8 kB / 0.5279 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3457, allocations: 1.641 MB / 0.5295 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.346, allocations: 186.9 kB / 0.5296 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3461, allocations: 80.72 kB / 0.5297 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3461, allocations: 2.219 kB / 0.5297 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.3461, allocations: 39.81 kB / 0.5298 GB, free: 2.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3461, allocations: 0 / 0.5298 GB, free: 2.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004079/0.3466, allocations: 247.9 kB / 0.53 GB, free: 2.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3466, allocations: 57.81 kB / 0.53 GB, free: 2.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3468, allocations: 261.2 kB / 0.5303 GB, free: 1.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3468, allocations: 29.7 kB / 0.5303 GB, free: 1.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3469, allocations: 265.6 kB / 0.5306 GB, free: 1.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.347, allocations: 72.64 kB / 0.5306 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.347, allocations: 54.83 kB / 0.5307 GB, free: 1.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.3471, allocations: 336.9 kB / 0.531 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.3472, allocations: 61.22 kB / 0.5311 GB, free: 1.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3473, allocations: 122.7 kB / 0.5312 GB, free: 1.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3475, allocations: 194 kB / 0.5314 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3475, allocations: 0 / 0.5314 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003179/0.3478, allocations: 245 kB / 0.5316 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3479, allocations: 9.875 kB / 0.5316 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3479, allocations: 2.469 kB / 0.5316 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3479, allocations: 3.234 kB / 0.5316 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3481, allocations: 46.2 kB / 0.5317 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3481, allocations: 7.438 kB / 0.5317 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.3482, allocations: 30.34 kB / 0.5317 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3482, allocations: 6.688 kB / 0.5317 GB, free: 0.7812 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.0001135/0.3483, allocations: 156.1 kB / 0.5319 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3483, allocations: 23.89 kB / 0.5319 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.3484, allocations: 31.59 kB / 0.5319 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3484, allocations: 5.406 kB / 0.5319 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3484, allocations: 2.234 kB / 0.5319 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3484, allocations: 0.7969 kB / 0.5319 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3491, allocations: 0.6643 MB / 0.5326 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3491, allocations: 1.25 kB / 0.5326 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3492, allocations: 36.47 kB / 0.5326 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3492, allocations: 3.938 kB / 0.5326 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3493, allocations: 10.41 kB / 0.5326 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3493, allocations: 5.469 kB / 0.5326 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3493, allocations: 0 / 0.5326 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.3497, allocations: 368.5 kB / 0.533 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.3498, allocations: 112.5 kB / 0.5331 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3498, allocations: 5.062 kB / 0.5331 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3499, allocations: 2.172 kB / 0.5331 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3499, allocations: 18.55 kB / 0.5331 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.35, allocations: 3.438 kB / 0.5331 GB, free: 15.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3501, allocations: 181.8 kB / 0.5333 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3501, allocations: 1.125 kB / 0.5333 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.3505, allocations: 86.2 kB / 0.5334 GB, free: 15.6 MB / 398.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.0007676/0.3512, allocations: 0.9006 MB / 0.5342 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3515, allocations: 157.4 kB / 0.5344 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3515, allocations: 0 / 0.5344 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3516, allocations: 90.3 kB / 0.5345 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.352, allocations: 33.59 kB / 0.5345 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.3555, allocations: 2.817 MB / 0.5373 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.356, allocations: 0.8129 MB / 0.5381 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3561, allocations: 19.17 kB / 0.5381 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.3563, allocations: 141 kB / 0.5382 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3563, allocations: 0 / 0.5382 GB, free: 11.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3855, allocations: 4.783 MB / 0.5429 GB, free: 9.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.797, allocations: 14.09 kB / 0.5429 GB, free: 9.664 MB / 398.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_res.csv --start-time 0 --stop-time 5000 --timeout 50 --relative-tolerance 1e-11 --interface-type ModelExchange --solver CVode --output-interval 2 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.107022913172841] Failed to read output from testmodel.py, exit status != 0: 8.871341865044087 8.897875888 8.551772421 Calling exit ...