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.0008755/0.0008754, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.008034/0.008034, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.707/1.707, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04202/0.04202, allocations: 8.114 MB / 278.8 MB, free: 13.11 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.000605/0.0006048, allocations: 20 kB / 339 MB, free: 26.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1167, allocations: 49.27 MB / 388.3 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001368/0.1182, allocations: 0.8783 MB / 389.1 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.1187, allocations: 370.7 kB / 389.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1189, allocations: 8 kB / 389.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.1189, allocations: 35.61 kB / 389.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1191, allocations: 27.75 kB / 389.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1194, allocations: 123.8 kB / 389.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.1197, allocations: 359.2 kB / 390 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.1201, allocations: 214.1 kB / 390.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1202, allocations: 119.3 kB / 390.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1204, allocations: 163 kB / 390.5 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1205, allocations: 24 kB / 390.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.1205, allocations: 24 kB / 390.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.1206, allocations: 83.56 kB / 390.7 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1208, allocations: 208.5 kB / 390.9 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.1213, allocations: 0.5373 MB / 391.4 MB, free: 6.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1213, allocations: 4 kB / 391.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1213, allocations: 0 / 391.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1213, allocations: 0 / 391.4 MB, free: 6.102 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.0008164/0.1221, allocations: 0.6161 MB / 392 MB, free: 5.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1222, allocations: 12.03 kB / 392 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.992e-05/0.1223, allocations: 82.7 kB / 392.1 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.1223, allocations: 56.28 kB / 392.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1227, allocations: 335.3 kB / 392.5 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1228, allocations: 37.38 kB / 392.5 MB, free: 4.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.1228, allocations: 44.28 kB / 392.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.1235, allocations: 426.5 kB / 393 MB, free: 4.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.1236, allocations: 3.938 kB / 393 MB, free: 4.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1236, allocations: 24 kB / 393 MB, free: 4.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1236, allocations: 8 kB / 393 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.1241, allocations: 268.8 kB / 393.3 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.126, allocations: 1.448 MB / 394.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.1266, allocations: 362.1 kB / 395.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1268, allocations: 167.4 kB / 395.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1268, allocations: 8 kB / 395.3 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.1269, allocations: 43.12 kB / 395.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1269, allocations: 0 / 395.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006167/0.1275, allocations: 350.2 kB / 395.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.1276, allocations: 140.5 kB / 395.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1279, allocations: 275 kB / 396 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1279, allocations: 29.7 kB / 396.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1281, allocations: 243.8 kB / 396.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.1282, allocations: 118.3 kB / 396.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1282, allocations: 37.7 kB / 396.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1284, allocations: 338.8 kB / 396.8 MB, free: 396 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1285, allocations: 96.84 kB / 396.9 MB, free: 296 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1287, allocations: 194.6 kB / 397.1 MB, free: 64 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.1292, allocations: 310.1 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1292, allocations: 0 / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005054/0.1297, allocations: 360.9 kB / 397.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1297, allocations: 10.66 kB / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1297, allocations: 0 / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1298, allocations: 11.94 kB / 397.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1301, allocations: 87.89 kB / 397.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1301, allocations: 4 kB / 397.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1303, allocations: 39.62 kB / 397.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1303, allocations: 20.25 kB / 397.9 MB, free: 15.19 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.0001925/0.1305, allocations: 169.7 kB / 398.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1306, allocations: 31.62 kB / 398.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.1307, allocations: 37.73 kB / 398.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1307, allocations: 4 kB / 398.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1307, allocations: 4 kB / 398.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1307, allocations: 7.922 kB / 398.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.1313, allocations: 461 kB / 398.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1313, allocations: 0 / 398.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.1316, allocations: 67.91 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1316, allocations: 4 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1317, allocations: 12.36 kB / 398.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1317, allocations: 0 / 398.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1317, allocations: 4 kB / 398.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.1323, allocations: 0.7164 MB / 399.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.1324, allocations: 108.6 kB / 399.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1324, allocations: 15.94 kB / 399.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1326, allocations: 8 kB / 399.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1327, allocations: 19.91 kB / 399.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1327, allocations: 12 kB / 399.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1329, allocations: 190 kB / 399.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1329, allocations: 0 / 399.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.1333, allocations: 91.62 kB / 399.8 MB, free: 13.16 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.0009938/0.1343, allocations: 1.258 MB / 401.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.1348, allocations: 263.9 kB / 401.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1348, allocations: 4 kB / 401.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1349, allocations: 123.8 kB / 401.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.1357, allocations: 60.84 kB / 401.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.1398, allocations: 3.575 MB / 405.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.1404, allocations: 0.8076 MB / 405.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.1405, allocations: 34.95 kB / 406 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1407, allocations: 127.4 kB / 406.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1408, allocations: 3.938 kB / 406.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.1593, allocations: 5.449 MB / 411.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.1597, allocations: 232.5 kB / 411.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.175, allocations: 3.438 kB / 411.8 MB, free: 1.113 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)