Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",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.0009226/0.0009226, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001099/0.001099, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03948/0.03948, allocations: 8.113 MB / 278.5 MB, free: 13.19 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.0006071/0.0006072, allocations: 15.12 kB / 338.4 MB, free: 26.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1058, allocations: 49.27 MB / 387.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent): time 0.001237/0.1071, allocations: 421.7 kB / 388.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.1079, allocations: 167.5 kB / 388.2 MB, free: 9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.108, allocations: 4 kB / 388.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.127e-05/0.1081, allocations: 11.88 kB / 388.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1083, allocations: 11.92 kB / 388.2 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1086, allocations: 35.97 kB / 388.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1089, allocations: 127.7 kB / 388.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.1092, allocations: 66.05 kB / 388.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1094, allocations: 59.66 kB / 388.5 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1095, allocations: 55.64 kB / 388.6 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1095, allocations: 12 kB / 388.6 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.1096, allocations: 8 kB / 388.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1096, allocations: 31.89 kB / 388.6 MB, free: 8.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.1097, allocations: 53.58 kB / 388.7 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1099, allocations: 143.7 kB / 388.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.1099, allocations: 0 / 388.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1099, allocations: 0 / 388.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1099, allocations: 0 / 388.8 MB, free: 8.379 MB / 286.1 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.0009036/0.1109, allocations: 423.5 kB / 389.2 MB, free: 7.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.057e-05/0.1109, allocations: 12.03 kB / 389.3 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.1111, allocations: 54.53 kB / 389.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1112, allocations: 19.81 kB / 389.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1114, allocations: 210.7 kB / 389.5 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1115, allocations: 16.38 kB / 389.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1115, allocations: 23.95 kB / 389.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.1118, allocations: 160.6 kB / 389.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1119, allocations: 4 kB / 389.7 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1119, allocations: 8 kB / 389.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1119, allocations: 4 kB / 389.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1121, allocations: 107.7 kB / 389.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.1131, allocations: 0.5818 MB / 390.4 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.1133, allocations: 126.5 kB / 390.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1135, allocations: 76.83 kB / 390.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1135, allocations: 4 kB / 390.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1135, allocations: 34.56 kB / 390.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.1135, allocations: 0 / 390.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003734/0.1139, allocations: 185.4 kB / 390.9 MB, free: 6.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.114, allocations: 51.41 kB / 390.9 MB, free: 6.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1141, allocations: 129.8 kB / 391 MB, free: 5.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1141, allocations: 25.7 kB / 391.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.1142, allocations: 128.3 kB / 391.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.1143, allocations: 59.14 kB / 391.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1143, allocations: 0 / 391.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1144, allocations: 330.8 kB / 391.6 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.1145, allocations: 31.98 kB / 391.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1146, allocations: 50.39 kB / 391.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1147, allocations: 44 kB / 391.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1147, allocations: 11.94 kB / 391.7 MB, free: 5.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005799/0.1153, allocations: 250.1 kB / 391.9 MB, free: 5.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.1154, allocations: 4 kB / 391.9 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1154, allocations: 3.953 kB / 391.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.116, allocations: 136.8 kB / 392.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.116, allocations: 15.92 kB / 392.1 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.1185, allocations: 1.886 MB / 394 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.1186, allocations: 15.84 kB / 394 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1186, allocations: 4 kB / 394 MB, free: 2.848 MB / 286.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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1187, allocations: 121.8 kB / 394.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1188, allocations: 11.91 kB / 394.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.1188, allocations: 20.45 kB / 394.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1188, allocations: 4 kB / 394.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1188, allocations: 0 / 394.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1189, allocations: 4.031 kB / 394.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.1192, allocations: 269.5 kB / 394.4 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1192, allocations: 0 / 394.4 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1194, allocations: 32.03 kB / 394.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1194, allocations: 3.938 kB / 394.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1194, allocations: 7.984 kB / 394.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1194, allocations: 7.953 kB / 394.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1194, allocations: 0 / 394.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1197, allocations: 293.7 kB / 394.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1198, allocations: 85.02 kB / 394.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1198, allocations: 4 kB / 394.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.1199, allocations: 0 / 394.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.12, allocations: 19.92 kB / 394.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.12, allocations: 4 kB / 394.9 MB, free: 1.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.12, allocations: 95.27 kB / 395 MB, free: 1.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.12, allocations: 4 kB / 395 MB, free: 1.793 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.1204, allocations: 47.75 kB / 395 MB, free: 1.746 MB / 286.1 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 () * Number of clocked 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.000704/0.1211, allocations: 0.8217 MB / 395.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.1216, allocations: 286.5 kB / 396.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1217, allocations: 0 / 396.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.1217, allocations: 63.66 kB / 396.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1221, allocations: 23.94 kB / 396.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1235, allocations: 0.989 MB / 397.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1238, allocations: 0.7243 MB / 397.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.1239, allocations: 12.88 kB / 397.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.124, allocations: 43.42 kB / 398 MB, free: 14.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.124, allocations: 0 / 398 MB, free: 14.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1386, allocations: 3.479 MB / 401.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.1389, allocations: 256.5 kB / 401.7 MB, free: 11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.851, allocations: 4.094 kB / 401.7 MB, free: 10.99 MB / 302.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1) Environment - environmentSimulation: