Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.001479/0.001479, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00177/0.00177, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 8 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.1715/0.1715, allocations: 29.23 MB / 342.5 MB, free: 5.793 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.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",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.001849/0.001849, allocations: 63.91 kB / 479.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 60.8 MB / 0.5273 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003329/0.3132, allocations: 2.355 MB / 0.5296 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3143, allocations: 0.6667 MB / 0.5302 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3145, allocations: 7.812 kB / 0.5302 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.3146, allocations: 50.48 kB / 0.5303 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.3147, allocations: 33.38 kB / 0.5303 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.3151, allocations: 124.3 kB / 0.5304 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.3154, allocations: 263.3 kB / 0.5307 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.3157, allocations: 146.8 kB / 0.5308 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3158, allocations: 111.4 kB / 0.5309 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3159, allocations: 119.6 kB / 0.531 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.3159, allocations: 30.94 kB / 0.5311 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.316, allocations: 60.16 kB / 0.5311 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.3161, allocations: 85.47 kB / 0.5312 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.3162, allocations: 146.7 kB / 0.5314 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3166, allocations: 331.2 kB / 0.5317 GB, free: 5.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3166, allocations: 1.469 kB / 0.5317 GB, free: 5.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3166, allocations: 0 / 0.5317 GB, free: 5.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.3166, allocations: 0 / 0.5317 GB, free: 5.031 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008402/0.3175, allocations: 0.5992 MB / 0.5323 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3175, allocations: 13.19 kB / 0.5323 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.711e-05/0.3175, allocations: 13.92 kB / 0.5323 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.3176, allocations: 74.09 kB / 0.5324 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.3177, allocations: 46.77 kB / 0.5324 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.318, allocations: 234.5 kB / 0.5326 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.318, allocations: 30.84 kB / 0.5326 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.318, allocations: 30.56 kB / 0.5327 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3186, allocations: 353.9 kB / 0.533 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3186, allocations: 1.406 kB / 0.533 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3186, allocations: 15.41 kB / 0.533 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3186, allocations: 12.91 kB / 0.533 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.3191, allocations: 245.7 kB / 0.5333 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3203, allocations: 1.119 MB / 0.5344 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.3207, allocations: 231 kB / 0.5346 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3209, allocations: 107.7 kB / 0.5347 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.321, allocations: 18.28 kB / 0.5347 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.3213, allocations: 160.9 kB / 0.5349 GB, free: 2.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.3213, allocations: 0 / 0.5349 GB, free: 2.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001316/0.3226, allocations: 0.7613 MB / 0.5356 GB, free: 2.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3226, allocations: 60 kB / 0.5357 GB, free: 2.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3229, allocations: 263.8 kB / 0.5359 GB, free: 2.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3229, allocations: 30.98 kB / 0.5359 GB, free: 2.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.323, allocations: 224.2 kB / 0.5362 GB, free: 2.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.323, allocations: 74.56 kB / 0.5362 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.3231, allocations: 62.11 kB / 0.5363 GB, free: 2.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.3232, allocations: 339 kB / 0.5366 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3234, allocations: 99.58 kB / 0.5367 GB, free: 1.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3236, allocations: 146 kB / 0.5368 GB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.324, allocations: 264.4 kB / 0.5371 GB, free: 1.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.324, allocations: 0 / 0.5371 GB, free: 1.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005364/0.3245, allocations: 355.2 kB / 0.5374 GB, free: 1.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3245, allocations: 32.97 kB / 0.5375 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3245, allocations: 1.281 kB / 0.5375 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3246, allocations: 7.234 kB / 0.5375 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3248, allocations: 50.95 kB / 0.5375 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.3248, allocations: 2.188 kB / 0.5375 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3249, allocations: 20.09 kB / 0.5375 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.3249, allocations: 16.59 kB / 0.5376 GB, free: 1.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001216/0.3251, allocations: 152.9 kB / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3251, allocations: 32.19 kB / 0.5377 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.3256, allocations: 293.1 kB / 0.538 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3256, allocations: 1.219 kB / 0.538 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3256, allocations: 1.312 kB / 0.538 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3256, allocations: 5.312 kB / 0.538 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.3265, allocations: 0.726 MB / 0.5387 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3265, allocations: 1.375 kB / 0.5387 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3267, allocations: 44.97 kB / 0.5388 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3267, allocations: 1.375 kB / 0.5388 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3267, allocations: 6.812 kB / 0.5388 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3267, allocations: 5.312 kB / 0.5388 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3267, allocations: 5.359 kB / 0.5388 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.3274, allocations: 0.5063 MB / 0.5393 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.3274, allocations: 23.5 kB / 0.5393 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3274, allocations: 10.23 kB / 0.5393 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3276, allocations: 10.92 kB / 0.5393 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.3277, allocations: 19.78 kB / 0.5394 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3277, allocations: 13.22 kB / 0.5394 GB, free: 172 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3278, allocations: 191.7 kB / 0.5396 GB, free: 44 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 3.938 kB / 0.5396 GB, free: 40 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3281, allocations: 49.19 kB / 0.5396 GB, free: 32 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 ($outputAlias_hare,$outputAlias_lynx) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001124/0.3292, allocations: 1.046 MB / 0.5406 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005506/0.3298, allocations: 298.3 kB / 0.5409 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3298, allocations: 1.094 kB / 0.5409 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.33, allocations: 115.9 kB / 0.541 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3304, allocations: 34.52 kB / 0.5411 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.3341, allocations: 3.03 MB / 0.544 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3345, allocations: 0.7973 MB / 0.5448 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.3346, allocations: 23.88 kB / 0.5448 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3347, allocations: 107.1 kB / 0.5449 GB, free: 11.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3347, allocations: 0 / 0.5449 GB, free: 11.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.3626, allocations: 5.434 MB / 0.5502 GB, free: 9.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.38, allocations: 2.344 kB / 0.5502 GB, free: 9.215 MB / 398.1 MB " [Timeout remaining time 648] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-10 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.02199770801235] Failed to read output from testmodel.py, exit status != 0: 11.535646176082082 11.557505894 11.236922989 Calling exit ...