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.001995/0.001995, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.002284/0.002284, allocations: 212 kB / 20.13 MB, free: 2.949 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.432/1.432, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.04876/0.04876, allocations: 8.2 MB / 290.6 MB, free: 8.125 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.00215/0.00215, allocations: 70.25 kB / 405.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.267, allocations: 50.9 MB / 456.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001714/0.2688, allocations: 0.5613 MB / 457.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.2691, allocations: 121.5 kB / 457.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.2691, allocations: 1.5 kB / 457.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.2692, allocations: 9.188 kB / 457.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2693, allocations: 13.17 kB / 457.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.2694, allocations: 31.81 kB / 457.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.2695, allocations: 70.3 kB / 457.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2697, allocations: 30.97 kB / 457.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.2697, allocations: 34.2 kB / 457.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.2698, allocations: 36.97 kB / 457.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2698, allocations: 9.5 kB / 457.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.2698, allocations: 8.406 kB / 457.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.2698, allocations: 22.31 kB / 457.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.2699, allocations: 43.67 kB / 457.8 MB, free: 3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.27, allocations: 89.19 kB / 457.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.27, allocations: 1.031 kB / 457.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.27, allocations: 0 / 457.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.27, allocations: 0 / 457.9 MB, free: 2.93 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.000412/0.2704, allocations: 392.9 kB / 458.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2705, allocations: 10.16 kB / 458.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.09e-05/0.2705, allocations: 5.719 kB / 458.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2705, allocations: 38.78 kB / 458.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2705, allocations: 14.62 kB / 458.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2707, allocations: 191.2 kB / 458.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2707, allocations: 9.031 kB / 458.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.2707, allocations: 18.56 kB / 458.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2709, allocations: 92.12 kB / 458.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2709, allocations: 5.344 kB / 458.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2709, allocations: 5.594 kB / 458.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2709, allocations: 1.469 kB / 458.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.271, allocations: 55.83 kB / 458.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.2715, allocations: 392.6 kB / 459.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2717, allocations: 85.55 kB / 459.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.2717, allocations: 39.83 kB / 459.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2717, allocations: 3.984 kB / 459.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2718, allocations: 34.55 kB / 459.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2718, allocations: 0 / 459.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001984/0.272, allocations: 101.8 kB / 459.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.272, allocations: 61.97 kB / 459.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.272, allocations: 106.5 kB / 459.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.272, allocations: 33.7 kB / 459.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.2721, allocations: 104.8 kB / 459.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2721, allocations: 31.67 kB / 459.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.2721, allocations: 19 kB / 459.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.2722, allocations: 325.5 kB / 460 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.2722, allocations: 22.47 kB / 460.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.2723, allocations: 23.61 kB / 460.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.2723, allocations: 48.36 kB / 460.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2723, allocations: 0 / 460.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.2725, allocations: 101.1 kB / 460.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2725, allocations: 5.75 kB / 460.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2725, allocations: 0 / 460.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2725, allocations: 1.219 kB / 460.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2726, allocations: 25.64 kB / 460.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2726, allocations: 0 / 460.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.2726, allocations: 10.11 kB / 460.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2726, allocations: 6.125 kB / 460.3 MB, free: 0.7344 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 5.907e-05/0.2727, allocations: 121.9 kB / 460.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2727, allocations: 3.219 kB / 460.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2728, allocations: 9.469 kB / 460.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2728, allocations: 5.688 kB / 460.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2728, allocations: 0 / 460.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2728, allocations: 3.984 kB / 460.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2729, allocations: 209.3 kB / 460.6 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2729, allocations: 3.938 kB / 460.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.273, allocations: 16.05 kB / 460.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.273, allocations: 1.562 kB / 460.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.273, allocations: 4 kB / 460.6 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.273, allocations: 5.188 kB / 460.6 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.273, allocations: 3.938 kB / 460.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.2732, allocations: 202.1 kB / 460.8 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.2732, allocations: 82.34 kB / 460.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2733, allocations: 1.406 kB / 460.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.2733, allocations: 5.531 kB / 460.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2733, allocations: 10.08 kB / 460.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2733, allocations: 6.25 kB / 461 MB, free: 64 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.2734, allocations: 90.36 kB / 461 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2734, allocations: 0 / 461 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.2736, allocations: 18.42 kB / 461.1 MB, free: 15.97 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.0005603/0.2742, allocations: 0.7402 MB / 461.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2743, allocations: 58.66 kB / 461.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2743, allocations: 192 / 461.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.2744, allocations: 29.45 kB / 461.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2747, allocations: 24.66 kB / 461.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2761, allocations: 1.424 MB / 463.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2765, allocations: 0.694 MB / 464 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.2765, allocations: 10.8 kB / 464 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.2766, allocations: 22.91 kB / 464.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2766, allocations: 0 / 464.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.3014, allocations: 1.931 MB / 466 MB, free: 12.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.206, allocations: 10.03 kB / 466 MB, free: 12.07 MB / 334.1 MB " [Timeout remaining time 652] (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.65117657603696] Failed to read output from testmodel.py, exit status != 0: 8.32857343996875 8.342683202 8.069851362 Calling exit ...