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.001246/0.001246, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001178/0.001178, allocations: 194.8 kB / 16.25 MB, free: 6.625 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.234/1.234, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03889/0.03889, allocations: 8.095 MB / 277.5 MB, free: 13.31 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.001278/0.001278, allocations: 63.91 kB / 336.8 MB, free: 26.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.066/0.06729, allocations: 48.3 MB / 385.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002075/0.06939, allocations: 1.248 MB / 386.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.07001, allocations: 362.7 kB / 386.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.07016, allocations: 8 kB / 386.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.07027, allocations: 31.61 kB / 386.7 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.07043, allocations: 23.81 kB / 386.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.07069, allocations: 127.8 kB / 386.9 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.07106, allocations: 395.2 kB / 387.3 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.0714, allocations: 244.8 kB / 387.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.07154, allocations: 167.3 kB / 387.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.07171, allocations: 199 kB / 387.9 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.07179, allocations: 56 kB / 387.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.07185, allocations: 60 kB / 388 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.07193, allocations: 115.6 kB / 388.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.07208, allocations: 226.8 kB / 388.3 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.07249, allocations: 0.5766 MB / 388.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.0725, allocations: 4 kB / 388.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.07251, allocations: 0 / 388.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.07253, allocations: 0 / 388.9 MB, free: 6.57 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.0008809/0.07341, allocations: 0.7289 MB / 389.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.07345, allocations: 8.031 kB / 389.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.07354, allocations: 82.7 kB / 389.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.07362, allocations: 48.38 kB / 389.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.07394, allocations: 343.3 kB / 390.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.07398, allocations: 33.38 kB / 390.1 MB, free: 5.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.07405, allocations: 56.28 kB / 390.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.07464, allocations: 418.5 kB / 390.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.07467, allocations: 7.938 kB / 390.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.07471, allocations: 16 kB / 390.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.07472, allocations: 12 kB / 390.6 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.07511, allocations: 260.9 kB / 390.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.07681, allocations: 1.452 MB / 392.3 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.07729, allocations: 370 kB / 392.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.0775, allocations: 167.4 kB / 392.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.07752, allocations: 4 kB / 392.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.07756, allocations: 42.5 kB / 392.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.07756, allocations: 0 / 392.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005558/0.07812, allocations: 359 kB / 393.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.07819, allocations: 136.5 kB / 393.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.07842, allocations: 278.8 kB / 393.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.07845, allocations: 37.7 kB / 393.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.07857, allocations: 228 kB / 393.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.07865, allocations: 118.3 kB / 394 MB, free: 1.133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.07875, allocations: 70.05 kB / 394.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.07886, allocations: 346.8 kB / 394.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.079, allocations: 100.8 kB / 394.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.07918, allocations: 182.6 kB / 394.7 MB, free: 404 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.07953, allocations: 314 kB / 395 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.07954, allocations: 4 kB / 395 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004653/0.08001, allocations: 353.1 kB / 395.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.08004, allocations: 8.625 kB / 395.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.08005, allocations: 0 / 395.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.08007, allocations: 4 kB / 395.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.08039, allocations: 96.08 kB / 395.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.08041, allocations: 11.98 kB / 395.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.08052, allocations: 35.62 kB / 395.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.08054, allocations: 8 kB / 395.5 MB, free: 15.53 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.0001481/0.08069, allocations: 177.7 kB / 395.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/0.08079, allocations: 31.62 kB / 395.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.08087, allocations: 37.73 kB / 395.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.08087, allocations: 4 kB / 395.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.08089, allocations: 4 kB / 395.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.0809, allocations: 7.938 kB / 395.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.08147, allocations: 461.1 kB / 396.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.08148, allocations: 0 / 396.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.08179, allocations: 59.91 kB / 396.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.0818, allocations: 4 kB / 396.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.08183, allocations: 8 kB / 396.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.08184, allocations: 4 kB / 396.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08184, allocations: 0 / 396.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.08244, allocations: 0.7161 MB / 397 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.08251, allocations: 108.8 kB / 397.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.08254, allocations: 8 kB / 397.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.08276, allocations: 8 kB / 397.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.0828, allocations: 23.98 kB / 397.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.08282, allocations: 20 kB / 397.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.08298, allocations: 190 kB / 397.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08298, allocations: 0 / 397.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.08342, allocations: 87.53 kB / 397.5 MB, free: 13.5 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.0007963/0.08422, allocations: 1.254 MB / 398.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.08461, allocations: 283.9 kB / 399 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.08462, allocations: 0 / 399 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.08477, allocations: 127.9 kB / 399.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.08543, allocations: 82.03 kB / 399.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.08888, allocations: 3.556 MB / 402.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.08922, allocations: 0.8113 MB / 403.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.08935, allocations: 30.97 kB / 403.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.08951, allocations: 131.4 kB / 403.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08951, allocations: 0 / 403.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1062, allocations: 5.663 MB / 409.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1064, allocations: 232.9 kB / 409.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.826, allocations: 7.938 kB / 409.6 MB, free: 1.227 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)