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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009987/0.0009986, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.351/1.351, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04047/0.04047, allocations: 8.106 MB / 277.4 MB, free: 13.38 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.001659/0.00166, allocations: 59.91 kB / 336.6 MB, free: 26.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09633, allocations: 48.3 MB / 384.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002718/0.09908, allocations: 1.248 MB / 386.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.09988, allocations: 374.5 kB / 386.5 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1001, allocations: 8 kB / 386.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.1003, allocations: 31.67 kB / 386.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1005, allocations: 27.75 kB / 386.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1008, allocations: 119.9 kB / 386.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1013, allocations: 355.2 kB / 387.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.1016, allocations: 218.1 kB / 387.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1018, allocations: 147.2 kB / 387.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.102, allocations: 167 kB / 387.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.1021, allocations: 36 kB / 387.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.1022, allocations: 36 kB / 387.6 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.1023, allocations: 99.53 kB / 387.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1024, allocations: 198.8 kB / 387.9 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1029, allocations: 0.5532 MB / 388.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1029, allocations: 0 / 388.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1029, allocations: 0 / 388.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.1029, allocations: 0 / 388.5 MB, free: 6.922 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001215/0.1041, allocations: 0.7212 MB / 389.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1042, allocations: 11.97 kB / 389.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.1044, allocations: 86.7 kB / 389.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.1045, allocations: 56.38 kB / 389.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1048, allocations: 331.3 kB / 389.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1049, allocations: 37.38 kB / 389.7 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.1049, allocations: 48.27 kB / 389.8 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1056, allocations: 422.5 kB / 390.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1056, allocations: 11.86 kB / 390.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.1056, allocations: 16 kB / 390.2 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1057, allocations: 12 kB / 390.2 MB, free: 5.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1061, allocations: 264.9 kB / 390.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1079, allocations: 1.456 MB / 391.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.1084, allocations: 358.1 kB / 392.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1086, allocations: 171.4 kB / 392.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1087, allocations: 3.938 kB / 392.5 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1087, allocations: 42.56 kB / 392.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.1087, allocations: 0 / 392.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006081/0.1093, allocations: 353.8 kB / 392.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.1094, allocations: 132.5 kB / 393 MB, free: 2.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1097, allocations: 278.9 kB / 393.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1097, allocations: 33.7 kB / 393.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1099, allocations: 236 kB / 393.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.11, allocations: 110.4 kB / 393.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.1101, allocations: 78.03 kB / 393.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1102, allocations: 342.8 kB / 394 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1104, allocations: 92.84 kB / 394.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1106, allocations: 198.6 kB / 394.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.111, allocations: 302 kB / 394.6 MB, free: 420 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.111, allocations: 0 / 394.6 MB, free: 420 kB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004912/0.1115, allocations: 364.9 kB / 395 MB, free: 48 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1116, allocations: 8.625 kB / 395 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1116, allocations: 1.5 kB / 395 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1116, allocations: 12 kB / 395 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.1119, allocations: 83.89 kB / 395.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.112, allocations: 7.938 kB / 395.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1121, allocations: 35.62 kB / 395.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.1121, allocations: 16 kB / 395.1 MB, free: 15.89 MB / 302.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.0001529/0.1123, allocations: 169.7 kB / 395.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.1124, allocations: 31.62 kB / 395.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.1125, allocations: 45.73 kB / 395.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1125, allocations: 4 kB / 395.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1125, allocations: 8 kB / 395.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1125, allocations: 3.938 kB / 395.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1131, allocations: 453.2 kB / 395.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1131, allocations: 7.922 kB / 395.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.1134, allocations: 67.89 kB / 395.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1134, allocations: 4 kB / 395.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1134, allocations: 8 kB / 395.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1135, allocations: 4 kB / 395.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1135, allocations: 4 kB / 395.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.1141, allocations: 0.7161 MB / 396.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.1142, allocations: 108.8 kB / 396.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1143, allocations: 8 kB / 396.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1145, allocations: 12 kB / 396.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1145, allocations: 19.92 kB / 396.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1145, allocations: 11.98 kB / 396.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1147, allocations: 186 kB / 397 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1147, allocations: 0 / 397 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.1151, allocations: 91.53 kB / 397.1 MB, free: 13.86 MB / 302.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.0009137/0.1161, allocations: 1.258 MB / 398.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1164, allocations: 260.3 kB / 398.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1165, allocations: 8.5 kB / 398.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1166, allocations: 127.8 kB / 398.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.1173, allocations: 56.86 kB / 398.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.1212, allocations: 3.55 MB / 402.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.1217, allocations: 0.8193 MB / 403.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1219, allocations: 35.64 kB / 403.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.1221, allocations: 131.4 kB / 403.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1221, allocations: 4 kB / 403.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.1643, allocations: 5.52 MB / 408.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1645, allocations: 248.7 kB / 409.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.976, allocations: 0 / 409.1 MB, free: 1.711 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)