Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09903/0.09903, allocations: 15.52 MB / 31.87 MB, free: 3.879 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 102.6 kB / 39.11 MB, free: 1.156 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 200.9 kB / 46.47 MB, free: 2.516 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 279.3 MB, free: 15.36 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1415/0.1415, allocations: 23.7 MB / 362.3 MB, free: 0.8281 MB / 270.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003047, allocations: 123.8 kB / 0.4908 GB, free: 25.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1078, allocations: 62.63 MB / 0.552 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003707/0.1115, allocations: 2.32 MB / 0.5542 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.1119, allocations: 147.5 kB / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.1119, allocations: 0 / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1121, allocations: 23.73 kB / 0.5544 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1122, allocations: 59.53 kB / 0.5545 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.1124, allocations: 35.91 kB / 0.5545 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1126, allocations: 175.2 kB / 0.5547 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1127, allocations: 50.23 kB / 0.5547 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.1128, allocations: 55.73 kB / 0.5548 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1129, allocations: 71.7 kB / 0.5548 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.113, allocations: 12 kB / 0.5548 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.113, allocations: 12 kB / 0.5548 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.113, allocations: 23.86 kB / 0.5549 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.1131, allocations: 75.61 kB / 0.5549 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1133, allocations: 163.2 kB / 0.5551 GB, free: 7.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1133, allocations: 0 / 0.5551 GB, free: 7.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1133, allocations: 4 kB / 0.5551 GB, free: 7.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1133, allocations: 4 kB / 0.5551 GB, free: 7.203 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005513/0.1139, allocations: 442.8 kB / 0.5555 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1139, allocations: 12.03 kB / 0.5555 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.114, allocations: 46.73 kB / 0.5556 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.114, allocations: 20.84 kB / 0.5556 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1143, allocations: 212.1 kB / 0.5558 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1143, allocations: 16.36 kB / 0.5558 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1143, allocations: 12.38 kB / 0.5558 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1145, allocations: 114.7 kB / 0.5559 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1146, allocations: 3.938 kB / 0.5559 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1146, allocations: 7.938 kB / 0.556 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1146, allocations: 7.938 kB / 0.556 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1147, allocations: 71.97 kB / 0.556 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.1154, allocations: 452.4 kB / 0.5565 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1156, allocations: 102.6 kB / 0.5566 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.1156, allocations: 40.94 kB / 0.5566 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1157, allocations: 3.938 kB / 0.5566 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1157, allocations: 42.5 kB / 0.5566 GB, free: 5.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1157, allocations: 0 / 0.5566 GB, free: 5.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003039/0.116, allocations: 129.6 kB / 0.5568 GB, free: 5.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.116, allocations: 51.41 kB / 0.5568 GB, free: 5.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1162, allocations: 153.7 kB / 0.557 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1162, allocations: 29.7 kB / 0.557 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1163, allocations: 131.8 kB / 0.5571 GB, free: 4.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1164, allocations: 43.62 kB / 0.5572 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.1164, allocations: 33.72 kB / 0.5572 GB, free: 4.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1166, allocations: 322.8 kB / 0.5575 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.1166, allocations: 35.98 kB / 0.5575 GB, free: 4.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.1167, allocations: 37.83 kB / 0.5576 GB, free: 4.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.1171, allocations: 156.7 kB / 0.5577 GB, free: 4.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1171, allocations: 0 / 0.5577 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002085/0.1173, allocations: 141.2 kB / 0.5579 GB, free: 4.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1173, allocations: 4 kB / 0.5579 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1173, allocations: 3.984 kB / 0.5579 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1173, allocations: 0 / 0.5579 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1175, allocations: 31.94 kB / 0.5579 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1175, allocations: 4 kB / 0.5579 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.1175, allocations: 15.88 kB / 0.5579 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1176, allocations: 4 kB / 0.5579 GB, free: 4.102 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = \"1\" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = \"1\" fixed = true nominal = prey.NominalPopulation ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001812/0.1177, allocations: 136 kB / 0.558 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1178, allocations: 15.84 kB / 0.5581 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1178, allocations: 16.7 kB / 0.5581 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1178, allocations: 4 kB / 0.5581 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1178, allocations: 8 kB / 0.5581 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1178, allocations: 3.938 kB / 0.5581 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1181, allocations: 233.5 kB / 0.5583 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1181, allocations: 0 / 0.5583 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1182, allocations: 23.92 kB / 0.5583 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1182, allocations: 3.938 kB / 0.5583 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1182, allocations: 4 kB / 0.5583 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1182, allocations: 0 / 0.5583 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1182, allocations: 0 / 0.5583 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1185, allocations: 247.4 kB / 0.5586 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.1186, allocations: 96.91 kB / 0.5587 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1186, allocations: 0 / 0.5587 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.1187, allocations: 8 kB / 0.5587 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.1187, allocations: 7.922 kB / 0.5587 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1187, allocations: 4 kB / 0.5587 GB, free: 3.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.1188, allocations: 119.1 kB / 0.5588 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1188, allocations: 0 / 0.5588 GB, free: 3.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.119, allocations: 44.02 kB / 0.5588 GB, free: 3.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.population) * 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 (12): * Single equations (assignments): 12 * 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.0005712/0.1196, allocations: 0.7753 MB / 0.5596 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1198, allocations: 79.91 kB / 0.5597 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1198, allocations: 4 kB / 0.5597 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.1199, allocations: 35.92 kB / 0.5597 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1202, allocations: 24.05 kB / 0.5597 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.122, allocations: 1.778 MB / 0.5615 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1224, allocations: 0.7085 MB / 0.5622 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.1224, allocations: 12.66 kB / 0.5622 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.1225, allocations: 35.42 kB / 0.5622 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1225, allocations: 0 / 0.5622 GB, free: 15.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1463, allocations: 2.937 MB / 0.5651 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.069, allocations: 14.64 kB / 0.5651 GB, free: 12.62 MB / 414.1 MB " [Timeout remaining time 652] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.792923569213599] Failed to read output from testmodel.py, exit status != 0: 8.138562099076807 8.161771485 8.044378439 Calling exit ...