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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005552/0.005552, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001199/0.001199, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.358/1.358, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04147/0.04147, allocations: 8.112 MB / 278 MB, free: 13.07 MB / 238.1 MB 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.001502/0.001502, allocations: 67.89 kB / 386.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2652, allocations: 48.31 MB / 434.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001644/0.2669, allocations: 0.5535 MB / 435 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.2672, allocations: 122.7 kB / 435.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.2672, allocations: 1.594 kB / 435.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.2673, allocations: 10.48 kB / 435.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.2673, allocations: 7.938 kB / 435.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.2675, allocations: 32.52 kB / 435.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2676, allocations: 68.45 kB / 435.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2678, allocations: 44.41 kB / 435.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.2678, allocations: 32.98 kB / 435.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.2679, allocations: 34.48 kB / 435.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2679, allocations: 7.75 kB / 435.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.2679, allocations: 9.188 kB / 435.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.268, allocations: 19.11 kB / 435.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.268, allocations: 42.58 kB / 435.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2681, allocations: 92.66 kB / 435.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2681, allocations: 0 / 435.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2681, allocations: 0 / 435.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2682, allocations: 1.062 kB / 435.5 MB, free: 6.82 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.0003986/0.2686, allocations: 385.3 kB / 435.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2686, allocations: 10.03 kB / 435.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.2687, allocations: 48.33 kB / 436 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.2687, allocations: 14.59 kB / 436 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2688, allocations: 184.7 kB / 436.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2688, allocations: 13 kB / 436.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2689, allocations: 11.5 kB / 436.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2691, allocations: 96.17 kB / 436.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2691, allocations: 3.938 kB / 436.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2691, allocations: 1.156 kB / 436.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2691, allocations: 2.312 kB / 436.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2692, allocations: 51.17 kB / 436.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.2697, allocations: 412 kB / 436.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2699, allocations: 87.47 kB / 436.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.2699, allocations: 40.91 kB / 436.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.27, allocations: 6.547 kB / 436.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.27, allocations: 32.66 kB / 436.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.27, allocations: 0 / 436.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00021/0.2702, allocations: 107 kB / 437 MB, free: 5.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.2702, allocations: 56.72 kB / 437.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.2703, allocations: 111.5 kB / 437.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2703, allocations: 25.7 kB / 437.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.2703, allocations: 104.2 kB / 437.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2704, allocations: 33.98 kB / 437.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.2704, allocations: 21.39 kB / 437.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.2705, allocations: 323.5 kB / 437.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.2705, allocations: 28.28 kB / 437.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.2706, allocations: 16.64 kB / 437.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.2706, allocations: 54.86 kB / 437.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2706, allocations: 0 / 437.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.2708, allocations: 92.47 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2708, allocations: 5.469 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2708, allocations: 0.6562 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2708, allocations: 0.9375 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2709, allocations: 16.88 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2709, allocations: 4.812 kB / 437.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.271, allocations: 5.5 kB / 437.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.271, allocations: 2 kB / 437.9 MB, free: 4.762 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.5e-05/0.271, allocations: 131.1 kB / 438 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2711, allocations: 6.938 kB / 438 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.2711, allocations: 10.69 kB / 438 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2711, allocations: 1.188 kB / 438 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2711, allocations: 4.812 kB / 438 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2711, allocations: 0.6094 kB / 438 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.2713, allocations: 208.8 kB / 438.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2713, allocations: 4 kB / 438.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.2714, allocations: 14.44 kB / 438.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2714, allocations: 9.406 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2714, allocations: 0.875 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2714, allocations: 5.156 kB / 438.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2715, allocations: 4.594 kB / 438.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.2716, allocations: 208.7 kB / 438.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.2717, allocations: 92.42 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2717, allocations: 1.891 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.2718, allocations: 0 / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.2718, allocations: 8.938 kB / 438.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2718, allocations: 6.75 kB / 438.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.2718, allocations: 83.41 kB / 438.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2718, allocations: 0 / 438.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.272, allocations: 16.38 kB / 438.7 MB, free: 4.02 MB / 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.000294/0.2723, allocations: 0.7397 MB / 439.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2725, allocations: 57.16 kB / 439.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2725, allocations: 0 / 439.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.2725, allocations: 31.23 kB / 439.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2728, allocations: 21.44 kB / 439.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.2738, allocations: 1.423 MB / 441 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.274, allocations: 0.7044 MB / 441.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.274, allocations: 8.078 kB / 441.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.2741, allocations: 25.09 kB / 441.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2741, allocations: 0 / 441.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.2929, allocations: 1.904 MB / 443.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.757, allocations: 16.83 kB / 443.6 MB, free: 0.7734 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)