Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005556/0.005556, allocations: 96.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 201.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04945/0.04945, allocations: 8.113 MB / 278 MB, free: 13.05 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.002039/0.002039, allocations: 76.45 kB / 386.2 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2425, allocations: 48.3 MB / 434.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001998/0.2446, allocations: 1.212 MB / 435.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005034/0.2451, allocations: 378.4 kB / 436 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2452, allocations: 8.188 kB / 436.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.2453, allocations: 48.06 kB / 436.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2455, allocations: 54.73 kB / 436.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2457, allocations: 142.3 kB / 436.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.246, allocations: 391.4 kB / 436.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.2464, allocations: 254.7 kB / 436.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2465, allocations: 175.5 kB / 437.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2466, allocations: 193.7 kB / 437.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.2467, allocations: 58.56 kB / 437.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.2468, allocations: 59.12 kB / 437.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.2469, allocations: 116.4 kB / 437.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.247, allocations: 214.6 kB / 437.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2475, allocations: 0.5937 MB / 438.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2475, allocations: 0 / 438.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2475, allocations: 5.375 kB / 438.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2475, allocations: 0 / 438.3 MB, free: 5.105 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008114/0.2483, allocations: 0.7356 MB / 439.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2484, allocations: 9.094 kB / 439.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.2485, allocations: 78.83 kB / 439.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.2485, allocations: 55.83 kB / 439.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2488, allocations: 339.6 kB / 439.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2489, allocations: 30.5 kB / 439.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.2489, allocations: 45.81 kB / 439.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.2495, allocations: 438.6 kB / 440 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2495, allocations: 8.984 kB / 440 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.2496, allocations: 17.8 kB / 440.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2496, allocations: 10.25 kB / 440.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.25, allocations: 263.6 kB / 440.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2516, allocations: 1.429 MB / 441.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.2521, allocations: 379.2 kB / 442.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.2524, allocations: 165.5 kB / 442.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.2524, allocations: 4.484 kB / 442.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2524, allocations: 42.95 kB / 442.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.2524, allocations: 0 / 442.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005575/0.253, allocations: 356.8 kB / 442.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.253, allocations: 133.4 kB / 442.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2533, allocations: 274.4 kB / 443.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2533, allocations: 36.45 kB / 443.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.2534, allocations: 235.5 kB / 443.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.2535, allocations: 131 kB / 443.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.2536, allocations: 73.62 kB / 443.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.2536, allocations: 340.5 kB / 443.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2538, allocations: 97.86 kB / 444 MB, free: 1.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2539, allocations: 186.3 kB / 444.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.2543, allocations: 306.8 kB / 444.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2543, allocations: 0.9375 kB / 444.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004329/0.2547, allocations: 361.1 kB / 444.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2547, allocations: 6.719 kB / 444.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2547, allocations: 3.828 kB / 444.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2547, allocations: 4.812 kB / 444.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2551, allocations: 91.12 kB / 444.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.2551, allocations: 5.531 kB / 444.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2552, allocations: 35.56 kB / 445 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2552, allocations: 16.25 kB / 445 MB, free: 0.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.000122/0.2553, allocations: 182.4 kB / 445.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/0.2554, allocations: 35.77 kB / 445.2 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.2555, allocations: 40.33 kB / 445.2 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2555, allocations: 4.828 kB / 445.2 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2556, allocations: 1.375 kB / 445.2 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2556, allocations: 6.891 kB / 445.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.2561, allocations: 458.9 kB / 445.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2562, allocations: 2.328 kB / 445.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.2565, allocations: 64.23 kB / 445.8 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2565, allocations: 6.75 kB / 445.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2565, allocations: 11.5 kB / 445.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2565, allocations: 2.75 kB / 445.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2565, allocations: 2.125 kB / 445.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.2572, allocations: 0.6962 MB / 446.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.2573, allocations: 112 kB / 446.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2574, allocations: 13.23 kB / 446.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2576, allocations: 10.31 kB / 446.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.2577, allocations: 25.83 kB / 446.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2577, allocations: 10.91 kB / 446.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.2579, allocations: 190.7 kB / 446.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2579, allocations: 1.25 kB / 446.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.2583, allocations: 84.2 kB / 446.9 MB, free: 15.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.0009828/0.2593, allocations: 1.266 MB / 448.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.2598, allocations: 268.5 kB / 448.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.2598, allocations: 0 / 448.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2599, allocations: 127.5 kB / 448.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.2607, allocations: 68 kB / 448.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.2646, allocations: 3.391 MB / 452 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.2651, allocations: 0.8077 MB / 452.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.2652, allocations: 37.72 kB / 452.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2654, allocations: 129.2 kB / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2654, allocations: 0 / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2958, allocations: 5.839 MB / 458.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.634, allocations: 9.25 kB / 458.8 MB, free: 7.945 MB / 334.1 MB (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.016 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)