Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.conf.json 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.001321/0.001321, allocations: 101.4 kB / 16.45 MB, free: 6.445 MB / 14.72 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.001282/0.001282, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.476/1.476, allocations: 207.6 MB / 229.8 MB, free: 4.227 MB / 174.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.05004/0.05004, allocations: 8.217 MB / 289.9 MB, free: 8.258 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.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) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.002178/0.002178, allocations: 67.91 kB / 405.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2466, allocations: 50.89 MB / 456.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001769/0.2484, allocations: 0.5704 MB / 456.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003142/0.2487, allocations: 117.1 kB / 456.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.2487, allocations: 1.312 kB / 456.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.2488, allocations: 9.281 kB / 456.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.2489, allocations: 17.47 kB / 456.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.249, allocations: 27.91 kB / 456.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2492, allocations: 70.55 kB / 456.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2493, allocations: 33.77 kB / 456.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2493, allocations: 33.92 kB / 456.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.2494, allocations: 32.59 kB / 457 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2494, allocations: 8.781 kB / 457 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.2494, allocations: 9.438 kB / 457 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.2495, allocations: 18.23 kB / 457 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.2495, allocations: 43.45 kB / 457.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2496, allocations: 102.4 kB / 457.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2496, allocations: 0 / 457.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2496, allocations: 0 / 457.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2496, allocations: 0 / 457.2 MB, free: 2.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004116/0.2501, allocations: 387.5 kB / 457.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2501, allocations: 10 kB / 457.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.2501, allocations: 41.98 kB / 457.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.2502, allocations: 14.78 kB / 457.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2503, allocations: 187.1 kB / 457.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2503, allocations: 13.05 kB / 457.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.2504, allocations: 11.19 kB / 457.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2505, allocations: 92.17 kB / 457.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2505, allocations: 1.25 kB / 457.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2506, allocations: 5.312 kB / 457.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2506, allocations: 2 kB / 457.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.2507, allocations: 51.12 kB / 458 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.2512, allocations: 409.1 kB / 458.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.2514, allocations: 85.94 kB / 458.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.2514, allocations: 37.41 kB / 458.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2514, allocations: 0 / 458.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2515, allocations: 31.81 kB / 458.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.2515, allocations: 1.312 kB / 458.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002174/0.2517, allocations: 110.1 kB / 458.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.2517, allocations: 51.41 kB / 458.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.2518, allocations: 112.2 kB / 458.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2518, allocations: 33.64 kB / 458.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.2518, allocations: 107 kB / 458.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.2518, allocations: 26.94 kB / 458.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.2519, allocations: 24.11 kB / 459 MB, free: 1.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.2519, allocations: 318.8 kB / 459.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.252, allocations: 25.52 kB / 459.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.252, allocations: 19.66 kB / 459.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.2521, allocations: 57.16 kB / 459.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2521, allocations: 0 / 459.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000122/0.2522, allocations: 88.8 kB / 459.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2522, allocations: 5.781 kB / 459.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2522, allocations: 0 / 459.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2522, allocations: 1.156 kB / 459.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2523, allocations: 17.69 kB / 459.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2523, allocations: 9.422 kB / 459.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.2524, allocations: 12.92 kB / 459.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2524, allocations: 6.125 kB / 459.5 MB, free: 0.793 MB / 318.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 (10): * Single equations (assignments): 10 * 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 6.195e-05/0.2524, allocations: 117.2 kB / 459.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.2525, allocations: 3.562 kB / 459.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2525, allocations: 9.531 kB / 459.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2525, allocations: 1.125 kB / 459.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2525, allocations: 5.312 kB / 459.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2525, allocations: 3.984 kB / 459.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2527, allocations: 208.7 kB / 459.9 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2527, allocations: 9.188 kB / 459.9 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.2528, allocations: 19.98 kB / 459.9 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2528, allocations: 0 / 459.9 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2528, allocations: 2 kB / 459.9 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2528, allocations: 3.938 kB / 459.9 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2528, allocations: 3.938 kB / 459.9 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.253, allocations: 206.5 kB / 460.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.253, allocations: 86.66 kB / 460.2 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.253, allocations: 1.438 kB / 460.2 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.2531, allocations: 4 kB / 460.2 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.2531, allocations: 14.52 kB / 460.2 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2531, allocations: 2.5 kB / 460.2 MB, free: 116 kB / 318.1 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.2531, allocations: 87.17 kB / 460.3 MB, free: 36 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2531, allocations: 0 / 460.3 MB, free: 36 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.2533, allocations: 18.36 kB / 460.3 MB, free: 28 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0005668/0.2539, allocations: 0.7472 MB / 461 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.2541, allocations: 59.19 kB / 461.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2541, allocations: 0 / 461.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.2541, allocations: 24.31 kB / 461.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2544, allocations: 17.27 kB / 461.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.256, allocations: 1.424 MB / 462.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2564, allocations: 0.7019 MB / 463.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.2564, allocations: 2.938 kB / 463.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.2565, allocations: 27.89 kB / 463.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2565, allocations: 0 / 463.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.281, allocations: 1.898 MB / 465.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.616, allocations: 4.688 kB / 465.2 MB, free: 12.14 MB / 334.1 MB " [Timeout remaining time 651] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.964809431694448] Failed to read output from testmodel.py, exit status != 0: 8.68737475015223 8.713952805 8.459420949 Calling exit ...