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.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.001298/0.001298, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001552/0.001552, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.354/1.354, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.04915/0.04915, allocations: 8.203 MB / 294.3 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.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="cs",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.002129/0.002129, allocations: 68.94 kB / 411.2 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08781, allocations: 50.94 MB / 462.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001879/0.08969, allocations: 0.5357 MB / 462.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.09003, allocations: 120 kB / 462.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.09008, allocations: 0 / 462.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.781e-05/0.09014, allocations: 11.88 kB / 462.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.09021, allocations: 7.938 kB / 462.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.09036, allocations: 27.95 kB / 462.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.09052, allocations: 75.78 kB / 462.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.09066, allocations: 27.97 kB / 462.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.09071, allocations: 31.86 kB / 463 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.09079, allocations: 39.83 kB / 463 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.09081, allocations: 8 kB / 463 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.09083, allocations: 12 kB / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.09085, allocations: 19.92 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.0909, allocations: 31.8 kB / 463.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.09105, allocations: 99.88 kB / 463.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09106, allocations: 0 / 463.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09106, allocations: 0 / 463.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.09106, allocations: 0 / 463.2 MB, free: 12.27 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005422/0.09161, allocations: 310.2 kB / 463.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.09165, allocations: 19.98 kB / 463.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.09166, allocations: 4.312 kB / 463.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.09171, allocations: 38.75 kB / 463.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.09175, allocations: 20.84 kB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.09194, allocations: 122.5 kB / 463.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.09196, allocations: 8.562 kB / 463.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.09199, allocations: 16.11 kB / 463.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.09224, allocations: 141 kB / 463.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.09226, allocations: 3.938 kB / 463.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.09227, allocations: 8 kB / 463.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.09228, allocations: 0 / 463.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.09239, allocations: 59.91 kB / 463.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.093, allocations: 355.8 kB / 464.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.0932, allocations: 82.48 kB / 464.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.09326, allocations: 32.86 kB / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.09328, allocations: 4 kB / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.0933, allocations: 30.56 kB / 464.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.0933, allocations: 0 / 464.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002384/0.09354, allocations: 97.67 kB / 464.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.09358, allocations: 59.34 kB / 464.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.09367, allocations: 118.1 kB / 464.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.09369, allocations: 25.7 kB / 464.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.09375, allocations: 104 kB / 464.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.09379, allocations: 27.75 kB / 464.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.09383, allocations: 33.64 kB / 464.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.09404, allocations: 310.8 kB / 465.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.09408, allocations: 23.98 kB / 465.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.09412, allocations: 20 kB / 465.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.09421, allocations: 56.98 kB / 465.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09421, allocations: 0 / 465.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001383/0.09435, allocations: 97.77 kB / 465.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.09437, allocations: 4.094 kB / 465.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.09437, allocations: 3.938 kB / 465.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.09438, allocations: 0 / 465.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.0945, allocations: 27.86 kB / 465.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.0945, allocations: 0 / 465.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.09453, allocations: 7.953 kB / 465.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.09454, allocations: 7.938 kB / 465.4 MB, free: 9.82 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 (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 9.743e-05/0.09464, allocations: 113.8 kB / 465.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.09467, allocations: 4 kB / 465.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.0947, allocations: 16.38 kB / 465.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.09471, allocations: 3.938 kB / 465.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.09471, allocations: 0 / 465.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.09472, allocations: 4 kB / 465.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.09493, allocations: 168.7 kB / 465.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09493, allocations: 0 / 465.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.09503, allocations: 19.98 kB / 465.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.09503, allocations: 3.984 kB / 465.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.09504, allocations: 0 / 465.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.09505, allocations: 3.938 kB / 465.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09505, allocations: 4 kB / 465.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.0953, allocations: 207.5 kB / 465.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.09532, allocations: 11.92 kB / 466 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.09533, allocations: 4 kB / 466 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.0954, allocations: 3.938 kB / 466 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.09542, allocations: 7.984 kB / 466 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.09543, allocations: 4 kB / 466 MB, free: 9.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.09548, allocations: 87.27 kB / 466.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09548, allocations: 0 / 466.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.0957, allocations: 19.95 kB / 466.1 MB, free: 9.078 MB / 334.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.0005321/0.09624, allocations: 0.7398 MB / 466.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.09637, allocations: 47.98 kB / 466.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.09637, allocations: 4 kB / 466.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.09642, allocations: 31.92 kB / 466.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.09672, allocations: 21.45 kB / 466.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.0982, allocations: 1.424 MB / 468.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.09829, allocations: 93.31 kB / 468.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.09833, allocations: 4 kB / 468.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.09838, allocations: 27.42 kB / 468.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09838, allocations: 0 / 468.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.1289, allocations: 2.088 MB / 470.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.01, allocations: 8 kB / 470.6 MB, free: 4.516 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.59638324403204] Failed to read output from testmodel.py, exit status != 0: 11.179911168059334 11.196002201 11.101916667 Calling exit ...