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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001443/0.001443, allocations: 210.8 kB / 22.24 MB, free: 4.875 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.609/1.609, allocations: 207.7 MB / 233.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.04849/0.04849, allocations: 8.198 MB / 293.5 MB, free: 13.47 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="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"}) [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.002221/0.002221, allocations: 76.31 kB / 410.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08701, allocations: 50.93 MB / 461.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002374/0.08938, allocations: 1.077 MB / 462.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.09008, allocations: 382.5 kB / 462.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.09018, allocations: 8 kB / 462.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.09029, allocations: 47.36 kB / 462.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.09046, allocations: 63.42 kB / 462.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.09075, allocations: 139.9 kB / 463 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.0912, allocations: 387.2 kB / 463.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.09151, allocations: 169.4 kB / 463.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.09167, allocations: 175.2 kB / 463.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.09188, allocations: 166.9 kB / 463.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.09196, allocations: 60 kB / 464 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.09202, allocations: 56 kB / 464 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.09214, allocations: 119.6 kB / 464.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.0923, allocations: 175.1 kB / 464.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.09289, allocations: 0.5918 MB / 464.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09289, allocations: 0 / 464.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09289, allocations: 0 / 464.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.09291, allocations: 4 kB / 464.9 MB, free: 9.734 MB / 334.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.001027/0.09393, allocations: 0.6533 MB / 465.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.09398, allocations: 11.98 kB / 465.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.09408, allocations: 82.7 kB / 465.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.09417, allocations: 56.61 kB / 465.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.09461, allocations: 273.3 kB / 466 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.09464, allocations: 33.38 kB / 466 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.09472, allocations: 44.31 kB / 466.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.09554, allocations: 0.6328 MB / 466.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.09557, allocations: 7.891 kB / 466.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.09562, allocations: 16 kB / 466.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.09563, allocations: 12 kB / 466.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.09609, allocations: 259.8 kB / 467 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.09811, allocations: 1.264 MB / 468.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.09873, allocations: 342.4 kB / 468.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.09896, allocations: 151.4 kB / 468.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.09898, allocations: 4 kB / 468.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.09902, allocations: 42.5 kB / 468.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.09902, allocations: 3.938 kB / 468.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0007057/0.09973, allocations: 358.7 kB / 469.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.09982, allocations: 140.5 kB / 469.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1001, allocations: 276.1 kB / 469.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1002, allocations: 37.7 kB / 469.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1004, allocations: 236.5 kB / 469.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1005, allocations: 126.9 kB / 469.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1006, allocations: 70.14 kB / 470 MB, free: 4.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1008, allocations: 338.8 kB / 470.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1009, allocations: 96.84 kB / 470.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1012, allocations: 186.6 kB / 470.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.1016, allocations: 310 kB / 470.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1016, allocations: 0 / 470.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00061/0.1022, allocations: 365.3 kB / 471.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.1023, allocations: 4 kB / 471.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1023, allocations: 4.25 kB / 471.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1023, allocations: 8 kB / 471.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1026, allocations: 91.83 kB / 471.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1027, allocations: 4 kB / 471.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1028, allocations: 39.67 kB / 471.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1028, allocations: 16 kB / 471.4 MB, free: 2.816 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.0002181/0.103, allocations: 173.7 kB / 471.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1031, allocations: 39.78 kB / 471.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.1032, allocations: 33.75 kB / 471.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1032, allocations: 11.98 kB / 471.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1032, allocations: 0 / 471.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1032, allocations: 3.938 kB / 471.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.1039, allocations: 392.4 kB / 472.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1039, allocations: 0 / 472.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1042, allocations: 59.91 kB / 472.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1042, allocations: 0 / 472.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1043, allocations: 12 kB / 472.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1043, allocations: 4 kB / 472.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1043, allocations: 3.938 kB / 472.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.1051, allocations: 0.7086 MB / 472.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1051, allocations: 31.73 kB / 472.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1051, allocations: 8 kB / 472.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1054, allocations: 12 kB / 472.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1054, allocations: 23.89 kB / 472.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1054, allocations: 12 kB / 472.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1056, allocations: 187.1 kB / 473.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1056, allocations: 0 / 473.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.106, allocations: 83.73 kB / 473.2 MB, free: 0.9648 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.001174/0.1072, allocations: 1.266 MB / 474.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.1077, allocations: 248.1 kB / 474.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1077, allocations: 4 kB / 474.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1078, allocations: 116.2 kB / 474.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.1086, allocations: 73.2 kB / 474.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.1129, allocations: 3.392 MB / 478.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1131, allocations: 203.7 kB / 478.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1133, allocations: 38.95 kB / 478.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.1135, allocations: 127.4 kB / 478.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1135, allocations: 0 / 478.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.1476, allocations: 6.497 MB / 485.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.92, allocations: 3.938 kB / 485.2 MB, free: 4.871 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.683610009029508] Failed to read output from testmodel.py, exit status != 0: 11.025933430995792 11.042684855 10.946589733 Calling exit ...