Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00136/0.00136, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 207.7 MB / 233.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05018/0.05018, allocations: 8.192 MB / 293.5 MB, free: 13.46 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 78.92 kB / 410.4 MB, free: 46.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.08101, allocations: 50.93 MB / 461.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001879/0.08289, allocations: 0.6598 MB / 462 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004242/0.08332, allocations: 171.4 kB / 462.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.08338, allocations: 4 kB / 462.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.916e-05/0.08344, allocations: 19.75 kB / 462.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.08353, allocations: 15.81 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.08372, allocations: 55.94 kB / 462.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.08394, allocations: 139.7 kB / 462.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.08414, allocations: 57.75 kB / 462.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.08421, allocations: 63.72 kB / 462.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.08431, allocations: 67.55 kB / 462.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.08435, allocations: 20 kB / 462.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.08438, allocations: 20 kB / 462.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.08442, allocations: 39.91 kB / 462.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.08449, allocations: 63.66 kB / 462.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.08473, allocations: 187.5 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.08473, allocations: 4 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08474, allocations: 0 / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.08475, allocations: 0 / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006212/0.08537, allocations: 394 kB / 463.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.08541, allocations: 15.98 kB / 463.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.08548, allocations: 54.67 kB / 463.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.08553, allocations: 24.8 kB / 463.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.08576, allocations: 162.2 kB / 463.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.08578, allocations: 20.73 kB / 463.6 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.08582, allocations: 16.38 kB / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.08617, allocations: 242.3 kB / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.08619, allocations: 11.89 kB / 463.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.08621, allocations: 8 kB / 463.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.08622, allocations: 4 kB / 463.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.08642, allocations: 111.7 kB / 464 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.08731, allocations: 0.4992 MB / 464.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.08756, allocations: 114.5 kB / 464.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.08769, allocations: 72.83 kB / 464.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.0877, allocations: 0 / 464.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.08774, allocations: 38.56 kB / 464.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.08774, allocations: 0 / 464.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003576/0.0881, allocations: 173.7 kB / 464.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.08814, allocations: 63.39 kB / 464.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.08825, allocations: 123.3 kB / 465 MB, free: 9.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.08827, allocations: 29.7 kB / 465.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.08836, allocations: 136.5 kB / 465.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.08841, allocations: 55.52 kB / 465.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.08848, allocations: 33.7 kB / 465.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.08863, allocations: 326.8 kB / 465.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.0887, allocations: 39.98 kB / 465.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.08877, allocations: 35.98 kB / 465.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.08893, allocations: 102.4 kB / 465.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.08893, allocations: 4 kB / 465.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002157/0.08915, allocations: 153.4 kB / 465.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.08917, allocations: 5.406 kB / 465.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.08917, allocations: 4 kB / 466 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.08919, allocations: 7.984 kB / 466 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.08937, allocations: 27.98 kB / 466 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.08937, allocations: 3.938 kB / 466 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.08942, allocations: 11.94 kB / 466 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.08943, allocations: 3.984 kB / 466 MB, free: 8.438 MB / 334.1 MB 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.0001051/0.08953, allocations: 129.8 kB / 466.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.08957, allocations: 19.84 kB / 466.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.08961, allocations: 12.44 kB / 466.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.08962, allocations: 4 kB / 466.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.08962, allocations: 4 kB / 466.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.08963, allocations: 3.938 kB / 466.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.08992, allocations: 228.6 kB / 466.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08993, allocations: 0 / 466.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.09009, allocations: 27.92 kB / 466.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.09009, allocations: 4 kB / 466.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.0901, allocations: 4 kB / 466.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.0901, allocations: 0 / 466.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.09011, allocations: 0 / 466.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.09048, allocations: 302.1 kB / 466.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.0905, allocations: 11.95 kB / 466.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.09052, allocations: 4 kB / 466.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.0906, allocations: 0 / 466.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.09063, allocations: 15.97 kB / 466.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.09064, allocations: 4 kB / 466.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.38e-05/0.09071, allocations: 95.27 kB / 466.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09071, allocations: 0 / 466.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.09095, allocations: 39.84 kB / 466.9 MB, free: 7.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0006887/0.09164, allocations: 0.8253 MB / 467.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.09186, allocations: 111.9 kB / 467.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.09186, allocations: 0 / 467.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.09194, allocations: 55.92 kB / 467.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.09228, allocations: 28.7 kB / 467.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.09416, allocations: 1.764 MB / 469.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.09428, allocations: 123.3 kB / 469.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.09433, allocations: 4.984 kB / 469.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.09441, allocations: 47.42 kB / 469.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09441, allocations: 0 / 469.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.1238, allocations: 3.222 MB / 473.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/10.95, allocations: 4.062 kB / 473.1 MB, free: 1.227 MB / 334.1 MB " [Timeout remaining time 649] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.424880684819072] Failed to read output from testmodel.py, exit status != 0: 11.050168856978416 11.066174904 10.978356684 Calling exit ...