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.00127/0.00127, 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.001508/0.001508, allocations: 206.4 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.359/1.359, allocations: 207.7 MB / 233.1 MB, free: 9.781 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.04917/0.04917, allocations: 8.197 MB / 293.5 MB, free: 13.57 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="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.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.002172/0.002172, allocations: 77.44 kB / 410.4 MB, free: 46.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.0794, allocations: 50.93 MB / 461.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001887/0.08129, allocations: 0.5396 MB / 461.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.08164, allocations: 116 kB / 462 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.08169, allocations: 4 kB / 462 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.08173, allocations: 7.875 kB / 462 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.08181, allocations: 11.88 kB / 462 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.08196, allocations: 31.97 kB / 462.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.08211, allocations: 71.81 kB / 462.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.08224, allocations: 31.97 kB / 462.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.08229, allocations: 27.86 kB / 462.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.08236, allocations: 35.78 kB / 462.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.08238, allocations: 8 kB / 462.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.0824, allocations: 8 kB / 462.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.08243, allocations: 23.97 kB / 462.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.08247, allocations: 31.75 kB / 462.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.08262, allocations: 95.83 kB / 462.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.08262, allocations: 0 / 462.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08262, allocations: 4 kB / 462.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.08263, allocations: 3.984 kB / 462.4 MB, free: 12.3 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.0005011/0.08313, allocations: 306.3 kB / 462.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.08317, allocations: 11.98 kB / 462.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.08323, allocations: 42.73 kB / 462.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.08326, allocations: 12.84 kB / 462.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.08345, allocations: 134.4 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.08347, allocations: 8.562 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.08349, allocations: 8.375 kB / 462.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.08373, allocations: 153.2 kB / 463.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.08374, allocations: 4 kB / 463.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.08376, allocations: 4 kB / 463.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.08377, allocations: 4 kB / 463.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.08387, allocations: 51.97 kB / 463.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.08446, allocations: 355.7 kB / 463.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.08465, allocations: 82.55 kB / 463.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.08471, allocations: 36.84 kB / 463.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.08473, allocations: 0 / 463.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.08477, allocations: 34.56 kB / 463.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.08477, allocations: 4 kB / 463.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002454/0.08501, allocations: 105.5 kB / 463.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.08506, allocations: 51.41 kB / 463.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.08515, allocations: 114.3 kB / 463.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.08517, allocations: 29.7 kB / 463.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.08524, allocations: 99.98 kB / 464 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.08528, allocations: 31.73 kB / 464 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.08532, allocations: 17.72 kB / 464.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.08547, allocations: 322.8 kB / 464.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.08551, allocations: 23.98 kB / 464.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.08555, allocations: 20 kB / 464.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.08563, allocations: 52.8 kB / 464.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.08564, allocations: 4 kB / 464.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001297/0.08577, allocations: 89.58 kB / 464.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.08578, allocations: 11.94 kB / 464.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.08579, allocations: 0 / 464.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.0858, allocations: 3.984 kB / 464.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.08591, allocations: 12 kB / 464.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.08592, allocations: 12 kB / 464.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.08595, allocations: 3.953 kB / 464.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.08596, allocations: 8 kB / 464.6 MB, free: 9.867 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.812e-05/0.08605, allocations: 121.8 kB / 464.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.08608, allocations: 288 / 464.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.08611, allocations: 12.38 kB / 464.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.08611, allocations: 0 / 464.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.08612, allocations: 7.875 kB / 464.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.08612, allocations: 0 / 464.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.08634, allocations: 172.8 kB / 464.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08634, allocations: 0 / 464.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.663e-05/0.08644, allocations: 19.92 kB / 464.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.08644, allocations: 4 kB / 464.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.08645, allocations: 8 kB / 464.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.08645, allocations: 0 / 464.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.08646, allocations: 7.938 kB / 465 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.08673, allocations: 199.5 kB / 465.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.08674, allocations: 7.891 kB / 465.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.08675, allocations: 8.031 kB / 465.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.08682, allocations: 0 / 465.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.08683, allocations: 7.922 kB / 465.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.08684, allocations: 4 kB / 465.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.498e-05/0.08689, allocations: 91.27 kB / 465.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08689, allocations: 8 kB / 465.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.08711, allocations: 19.95 kB / 465.3 MB, free: 9.113 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.0005577/0.08767, allocations: 0.7359 MB / 466 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.08781, allocations: 51.92 kB / 466.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08781, allocations: 0 / 466.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.08785, allocations: 27.98 kB / 466.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.08817, allocations: 15.94 kB / 466.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.08959, allocations: 1.436 MB / 467.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.682e-05/0.08968, allocations: 81.39 kB / 467.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.08972, allocations: 7.984 kB / 467.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.08977, allocations: 23.44 kB / 467.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.08977, allocations: 0 / 467.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1166, allocations: 2.411 MB / 470.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.93, allocations: 4.062 kB / 470.1 MB, free: 4.242 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.366831172257662] Failed to read output from testmodel.py, exit status != 0: 11.036322951316833 11.058670161 10.971886912 Calling exit ...