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: translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001055/0.001055, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.509/1.509, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03899/0.03899, allocations: 8.094 MB / 278.2 MB, free: 13.34 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.001315/0.001315, allocations: 67.91 kB / 337.4 MB, free: 26.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08967, allocations: 48.3 MB / 385.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002334/0.09203, allocations: 1.237 MB / 386.9 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00054/0.09259, allocations: 374.6 kB / 387.3 MB, free: 8.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.09271, allocations: 8 kB / 387.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.09281, allocations: 31.67 kB / 387.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.09296, allocations: 23.75 kB / 387.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.09322, allocations: 131.9 kB / 387.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.09356, allocations: 383.2 kB / 387.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.09391, allocations: 256.8 kB / 388.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.09404, allocations: 175.2 kB / 388.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.09422, allocations: 191 kB / 388.4 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.09429, allocations: 60 kB / 388.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.09435, allocations: 60 kB / 388.5 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.09445, allocations: 119.6 kB / 388.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.0946, allocations: 218.8 kB / 388.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.09499, allocations: 491 kB / 389.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.095, allocations: 0 / 389.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.09501, allocations: 0 / 389.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.09503, allocations: 3.938 kB / 389.4 MB, free: 6.773 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.0009169/0.09595, allocations: 0.7176 MB / 390.1 MB, free: 6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.096, allocations: 15.89 kB / 390.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.09609, allocations: 52.38 kB / 390.1 MB, free: 5.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.09645, allocations: 339.3 kB / 390.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.09649, allocations: 37.36 kB / 390.5 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.09655, allocations: 48.28 kB / 390.6 MB, free: 5.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.09716, allocations: 426.4 kB / 391 MB, free: 5.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.09719, allocations: 192 / 391 MB, free: 5.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.09724, allocations: 27.94 kB / 391 MB, free: 5.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.09725, allocations: 8 kB / 391 MB, free: 5.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.09767, allocations: 264.8 kB / 391.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.09947, allocations: 1.448 MB / 392.7 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.1, allocations: 362.6 kB / 393.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1002, allocations: 171.3 kB / 393.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1003, allocations: 4 kB / 393.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1003, allocations: 46.56 kB / 393.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1003, allocations: 0 / 393.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005904/0.1009, allocations: 350.4 kB / 393.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.101, allocations: 136.5 kB / 393.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1013, allocations: 270.9 kB / 394 MB, free: 1.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1013, allocations: 33.7 kB / 394.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1014, allocations: 236 kB / 394.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.1015, allocations: 118.3 kB / 394.4 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.1016, allocations: 70.14 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1018, allocations: 346.7 kB / 394.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1019, allocations: 96.84 kB / 394.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.1021, allocations: 186.6 kB / 395.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1025, allocations: 310 kB / 395.4 MB, free: 368 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1025, allocations: 0 / 395.4 MB, free: 368 kB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004873/0.103, allocations: 365 kB / 395.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.103, allocations: 18.2 kB / 395.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.103, allocations: 7.938 kB / 395.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.103, allocations: 4 kB / 395.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.1034, allocations: 83.89 kB / 395.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1034, allocations: 11.94 kB / 395.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1035, allocations: 35.62 kB / 395.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1035, allocations: 16 kB / 395.9 MB, free: 15.82 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.0001821/0.1037, allocations: 169.7 kB / 396.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.1038, allocations: 35.62 kB / 396.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1039, allocations: 33.73 kB / 396.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1039, allocations: 4 kB / 396.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1039, allocations: 4 kB / 396.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.104, allocations: 7.922 kB / 396.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.1046, allocations: 457.1 kB / 396.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1046, allocations: 4 kB / 396.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.1049, allocations: 59.91 kB / 396.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1049, allocations: 8 kB / 396.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.1049, allocations: 8 kB / 396.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1049, allocations: 3.984 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1049, allocations: 4 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.1056, allocations: 0.7046 MB / 397.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.1057, allocations: 109 kB / 397.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1057, allocations: 16 kB / 397.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1059, allocations: 8 kB / 397.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.106, allocations: 19.91 kB / 397.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.106, allocations: 15.94 kB / 397.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1062, allocations: 194 kB / 397.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1062, allocations: 0 / 397.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.1066, allocations: 83.59 kB / 397.8 MB, free: 13.8 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.0001188/0.1068, allocations: 115.1 kB / 398 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.1072, allocations: 275.7 kB / 398.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1072, allocations: 4 kB / 398.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1073, allocations: 127.8 kB / 398.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.1081, allocations: 64.5 kB / 398.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1093, allocations: 0.936 MB / 399.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1097, allocations: 0.8228 MB / 400.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.1098, allocations: 27.44 kB / 400.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1098, allocations: 0 / 400.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Templates: time 0.0059/0.1157, allocations: 4.209 MB / 404.4 MB, free: 7.152 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile (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 & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)