Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001109/0.001109, allocations: 177.1 kB / 7.651 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.431/1.431, allocations: 194.3 MB / 202.4 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03744/0.03744, allocations: 7.902 MB / 255.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001682/0.001682, allocations: 117.5 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.549e-05, allocations: 8 kB / 354.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3167, allocations: 46.18 MB / 400.6 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.4174, allocations: 70.5 MB / 471.1 MB, free: 4.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.4176, allocations: 47.98 kB / 471.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007093/0.4247, allocations: 2.849 MB / 474 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4248, allocations: 0 / 474 MB, free: 1.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.4248, allocations: 4 kB / 474 MB, free: 1.555 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005378/0.4253, allocations: 427.8 kB / 474.4 MB, free: 1.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.4254, allocations: 10.77 kB / 474.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.4255, allocations: 29.28 kB / 474.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4257, allocations: 215 kB / 474.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4257, allocations: 8 kB / 474.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4258, allocations: 22.02 kB / 474.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000202/0.426, allocations: 96.67 kB / 474.8 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4262, allocations: 133.1 kB / 474.9 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4263, allocations: 4 kB / 474.9 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4263, allocations: 0 / 474.9 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4263, allocations: 4.75 kB / 474.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.4272, allocations: 0.5341 MB / 475.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.4274, allocations: 123.3 kB / 475.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4275, allocations: 71 kB / 475.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4276, allocations: 4 kB / 475.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4276, allocations: 35.06 kB / 475.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4276, allocations: 0.7812 kB / 475.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002648/0.4279, allocations: 123.8 kB / 475.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4279, allocations: 52.31 kB / 475.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.428, allocations: 113 kB / 475.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4281, allocations: 26.2 kB / 476 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.4281, allocations: 129 kB / 476.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.4282, allocations: 55.19 kB / 476.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4282, allocations: 4.594 kB / 476.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4284, allocations: 327.3 kB / 476.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.4284, allocations: 41.34 kB / 476.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.4285, allocations: 32 kB / 476.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.4286, allocations: 46.39 kB / 476.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4286, allocations: 4 kB / 476.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001987/0.4288, allocations: 131.4 kB / 476.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4288, allocations: 4 kB / 476.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4288, allocations: 0.5938 kB / 476.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4288, allocations: 0.5625 kB / 476.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.429, allocations: 44.06 kB / 476.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4291, allocations: 0.75 kB / 476.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.4291, allocations: 7.844 kB / 476.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4291, allocations: 5.312 kB / 476.8 MB, free: 14.58 MB / 330.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.4292, allocations: 108.7 kB / 476.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001795/0.4294, allocations: 129.1 kB / 477 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.4294, allocations: 15.91 kB / 477 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.4295, allocations: 17.5 kB / 477 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4295, allocations: 4 kB / 477 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4295, allocations: 0.5312 kB / 477 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4295, allocations: 3.953 kB / 477.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.4298, allocations: 226.5 kB / 477.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4298, allocations: 4.672 kB / 477.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.43, allocations: 32.77 kB / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.43, allocations: 0 / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.43, allocations: 0.9688 kB / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.43, allocations: 4 kB / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.43, allocations: 0 / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4304, allocations: 280.4 kB / 477.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.4304, allocations: 89.8 kB / 477.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4305, allocations: 2.344 kB / 477.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.4305, allocations: 0.75 kB / 477.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.4306, allocations: 4.562 kB / 477.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.4306, allocations: 11.98 kB / 477.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.4307, allocations: 95.81 kB / 477.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4307, allocations: 0.5625 kB / 477.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.4309, allocations: 31.78 kB / 477.8 MB, free: 13.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006584/0.4316, allocations: 0.8198 MB / 478.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.4318, allocations: 93.19 kB / 478.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4318, allocations: 0 / 478.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.4319, allocations: 55.94 kB / 478.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4322, allocations: 25.52 kB / 478.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.4329, allocations: 284.1 kB / 479.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.4333, allocations: 0.7316 MB / 479.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.4334, allocations: 7.266 kB / 479.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.4335, allocations: 47.41 kB / 479.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of SimCode: time 2.365e-06/0.4335, allocations: 4 kB / 479.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.4551, allocations: 2.137 MB / 482 MB, free: 9.297 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.4554, allocations: 166.2 kB / 482.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.913, allocations: 0 / 482.2 MB, free: 9.102 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)