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.001581/0.001581, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05258/0.05258, allocations: 8.107 MB / 277.9 MB, free: 13.12 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.001664/0.001664, allocations: 71.91 kB / 337.3 MB, free: 26.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06846/0.07013, allocations: 48.3 MB / 385.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.00221/0.07238, allocations: 1.207 MB / 386.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.07308, allocations: 378.6 kB / 387.2 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.07323, allocations: 8 kB / 387.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.07335, allocations: 47.38 kB / 387.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.07353, allocations: 51.41 kB / 387.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.07382, allocations: 135.9 kB / 387.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.07422, allocations: 399.2 kB / 387.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.07458, allocations: 244.9 kB / 388 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.07474, allocations: 175.2 kB / 388.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.07493, allocations: 198.9 kB / 388.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.07501, allocations: 64 kB / 388.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.07508, allocations: 56 kB / 388.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.07516, allocations: 115.6 kB / 388.6 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.07534, allocations: 222.8 kB / 388.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.07576, allocations: 0.5766 MB / 389.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.07577, allocations: 0 / 389.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07578, allocations: 0 / 389.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.07579, allocations: 0 / 389.4 MB, free: 6.199 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.0009298/0.07673, allocations: 0.7212 MB / 390.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.07677, allocations: 8.031 kB / 390.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.07686, allocations: 82.7 kB / 390.2 MB, free: 5.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.07695, allocations: 56.38 kB / 390.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.0773, allocations: 339.3 kB / 390.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.07734, allocations: 33.38 kB / 390.7 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.07741, allocations: 48.28 kB / 390.7 MB, free: 4.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.07801, allocations: 426.4 kB / 391.1 MB, free: 4.383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.07804, allocations: 3.938 kB / 391.1 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.07808, allocations: 20 kB / 391.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.0781, allocations: 12 kB / 391.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.0785, allocations: 260.9 kB / 391.4 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.08031, allocations: 1.46 MB / 392.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.08084, allocations: 354.2 kB / 393.2 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.08105, allocations: 175.3 kB / 393.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.08108, allocations: 4 kB / 393.4 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.08111, allocations: 46.55 kB / 393.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.08112, allocations: 0 / 393.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005932/0.08171, allocations: 349.8 kB / 393.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.08178, allocations: 136.5 kB / 393.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.08202, allocations: 274.9 kB / 394.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.08206, allocations: 37.7 kB / 394.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.08218, allocations: 232 kB / 394.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.08226, allocations: 110.4 kB / 394.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.08236, allocations: 82.03 kB / 394.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.08247, allocations: 334.8 kB / 395 MB, free: 356 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.08262, allocations: 96.84 kB / 395.1 MB, free: 260 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.08282, allocations: 194.6 kB / 395.2 MB, free: 28 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.08319, allocations: 306.1 kB / 395.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0832, allocations: 0 / 395.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004809/0.08369, allocations: 360.8 kB / 395.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.08371, allocations: 8.625 kB / 395.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.08373, allocations: 8.25 kB / 395.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.08375, allocations: 8 kB / 395.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.08408, allocations: 87.89 kB / 396 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.0841, allocations: 7.938 kB / 396 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.08422, allocations: 35.62 kB / 396 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.08425, allocations: 12 kB / 396.1 MB, free: 15.16 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.0001618/0.08442, allocations: 177.7 kB / 396.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.08453, allocations: 31.62 kB / 396.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.08461, allocations: 41.73 kB / 396.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.08462, allocations: 4 kB / 396.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.08463, allocations: 4 kB / 396.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.08464, allocations: 3.938 kB / 396.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.08523, allocations: 457.1 kB / 396.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.08524, allocations: 0 / 396.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.08557, allocations: 67.89 kB / 396.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.08558, allocations: 4 kB / 396.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.08561, allocations: 8 kB / 396.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.08562, allocations: 4 kB / 396.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.08562, allocations: 4 kB / 396.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.08623, allocations: 0.7134 MB / 397.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.08631, allocations: 104.8 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.08635, allocations: 8.375 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.08657, allocations: 16 kB / 397.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.08662, allocations: 19.91 kB / 397.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.08664, allocations: 15.98 kB / 397.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.08681, allocations: 189.9 kB / 397.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08681, allocations: 4 kB / 397.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.08726, allocations: 87.53 kB / 398 MB, free: 13.13 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.0008425/0.08811, allocations: 1.253 MB / 399.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004257/0.08854, allocations: 276.5 kB / 399.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.08856, allocations: 0.5 kB / 399.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.08872, allocations: 140 kB / 399.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.08943, allocations: 64.78 kB / 399.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.09276, allocations: 3.389 MB / 403.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.09309, allocations: 0.812 MB / 403.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.09324, allocations: 42.81 kB / 404 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.09339, allocations: 127.4 kB / 404.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of SimCode: time 1.452e-06/0.0934, allocations: 8 kB / 404.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.1157, allocations: 5.734 MB / 409.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.496, allocations: 7.781 kB / 409.8 MB, free: 1.164 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)