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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05009/0.05009, allocations: 8.201 MB / 290.6 MB, free: 8.109 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002198/0.002198, allocations: 78.23 kB / 405.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2561, allocations: 50.9 MB / 456.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001963/0.258, allocations: 1.223 MB / 458 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005071/0.2585, allocations: 384.6 kB / 458.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2586, allocations: 6.469 kB / 458.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.599e-05/0.2587, allocations: 50.31 kB / 458.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2588, allocations: 52.77 kB / 458.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2591, allocations: 143.9 kB / 458.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.2594, allocations: 395.8 kB / 459.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.2596, allocations: 185.8 kB / 459.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2597, allocations: 176.8 kB / 459.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2599, allocations: 197.1 kB / 459.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.2599, allocations: 59.84 kB / 459.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.26, allocations: 58.03 kB / 459.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.2601, allocations: 115.8 kB / 459.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2602, allocations: 219 kB / 460 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.2605, allocations: 0.5908 MB / 460.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2605, allocations: 1.125 kB / 460.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2605, allocations: 0 / 460.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2605, allocations: 0 / 460.6 MB, free: 0.8281 MB / 318.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.0008089/0.2613, allocations: 0.7369 MB / 461.4 MB, free: 184 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2614, allocations: 10.03 kB / 461.4 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.036e-05/0.2614, allocations: 10.41 kB / 461.4 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.2615, allocations: 84.97 kB / 461.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.2615, allocations: 59.75 kB / 461.5 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2619, allocations: 334.4 kB / 461.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.262, allocations: 34.25 kB / 461.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.262, allocations: 43.06 kB / 461.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.2627, allocations: 436.6 kB / 462.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2627, allocations: 5.328 kB / 462.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.2627, allocations: 17.5 kB / 462.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2627, allocations: 9.625 kB / 462.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.2632, allocations: 265.1 kB / 462.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.2651, allocations: 1.438 MB / 464.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.2657, allocations: 338.7 kB / 464.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.2659, allocations: 152 kB / 464.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2659, allocations: 4.188 kB / 464.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2659, allocations: 42.72 kB / 464.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.266, allocations: 0 / 464.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.000649/0.2666, allocations: 351.3 kB / 465 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.2667, allocations: 135.8 kB / 465.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.267, allocations: 269.4 kB / 465.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.267, allocations: 35.89 kB / 465.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.2672, allocations: 239.5 kB / 465.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2673, allocations: 128.9 kB / 465.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.2674, allocations: 72.19 kB / 465.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2676, allocations: 341.6 kB / 466.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2678, allocations: 97.12 kB / 466.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.268, allocations: 188.6 kB / 466.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.2684, allocations: 310 kB / 466.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2684, allocations: 0 / 466.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005528/0.269, allocations: 366.5 kB / 467.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.269, allocations: 6.406 kB / 467.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.269, allocations: 3.188 kB / 467.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.269, allocations: 4.5 kB / 467.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.2694, allocations: 96.12 kB / 467.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2694, allocations: 7.875 kB / 467.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2695, allocations: 31.78 kB / 467.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2695, allocations: 11.77 kB / 467.3 MB, free: 11.77 MB / 334.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.0001912/0.2697, allocations: 179.9 kB / 467.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.2698, allocations: 37.33 kB / 467.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/0.2699, allocations: 36.11 kB / 467.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2699, allocations: 4.156 kB / 467.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.2699, allocations: 5.062 kB / 467.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2699, allocations: 9.328 kB / 467.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.2706, allocations: 466.4 kB / 468 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2706, allocations: 0.9688 kB / 468 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2709, allocations: 55.75 kB / 468 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2709, allocations: 6.375 kB / 468 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.271, allocations: 15.52 kB / 468 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.271, allocations: 6.531 kB / 468.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.271, allocations: 5 kB / 468.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.2717, allocations: 0.6973 MB / 468.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.2718, allocations: 109.7 kB / 468.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2718, allocations: 11.28 kB / 468.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.272, allocations: 15.25 kB / 468.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.2721, allocations: 21.91 kB / 468.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2721, allocations: 12.09 kB / 468.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.2723, allocations: 191.4 kB / 469.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2723, allocations: 0 / 469.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.2728, allocations: 84.27 kB / 469.2 MB, free: 10.26 MB / 334.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.00104/0.2738, allocations: 1.254 MB / 470.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.2742, allocations: 249.8 kB / 470.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2742, allocations: 9.188 kB / 470.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2744, allocations: 117.6 kB / 470.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.2751, allocations: 66.42 kB / 470.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.279, allocations: 3.397 MB / 474.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.2795, allocations: 0.8089 MB / 475.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.2796, allocations: 39.92 kB / 475.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.2798, allocations: 129.5 kB / 475.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2798, allocations: 0 / 475.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3027, allocations: 5.906 MB / 481.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/8.817, allocations: 12.06 kB / 481.2 MB, free: 15.68 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.016 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.154424310021568] Failed to read output from testmodel.py, exit status != 0: 8.94710817199666 8.970471698 8.705797434 Calling exit ...